Qt-interest Archive, June 2007
QProcess message - QProcess: Destroyed while process is still running.
Message 1 in thread
I have a QProcess instance which I need to terminate from time to time.
When I call QProcess::terminate I see the following message at the console:
QProcess: Destroyed while process is still running.
Is this expected? I thought to use ::terminate instead of ::kill to
allow the process time to clean itself up. How do I eliminate this
message. I'm using Qt 4.3.0 debuggable versions (maybe that's why I get
the message - debuggable versions?)
Thanks in advance,
Susan
---
This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.
Diese Nachricht enthält vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfänger dieser E-mail sein, senden Sie bitte diese an den Absender zurück und löschen Sie die E-mail aus Ihrem System.
--
[ signature omitted ]
Message 2 in thread
Try QProcess::close() instead
On Jun 14, 2007, at 5:36 PM, Susan Macchia wrote:
> I have a QProcess instance which I need to terminate from time to
> time. When I call QProcess::terminate I see the following message
> at the console:
>
> QProcess: Destroyed while process is still running.
>
> Is this expected? I thought to use ::terminate instead of ::kill
> to allow the process time to clean itself up. How do I eliminate
> this message. I'm using Qt 4.3.0 debuggable versions (maybe that's
> why I get the message - debuggable versions?)
>
> Thanks in advance,
> Susan
>
>
> ---
>
> This communication contains confidential information. If you are
> not the intended recipient please return this email to the sender
> and delete it from your records.
>
> Diese Nachricht enthält vertrauliche Informationen. Sollten Sie
> nicht der beabsichtigte Empfänger dieser E-mail sein, senden Sie
> bitte diese an den Absender zurück und löschen Sie die E-mail aus
> Ihrem System.
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
> with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
--
[ signature omitted ]
Message 3 in thread
::close closes communication with the process, but doesn't terminate it.
Naresh wrote:
> Try QProcess::close() instead
>
> On Jun 14, 2007, at 5:36 PM, Susan Macchia wrote:
>
>> I have a QProcess instance which I need to terminate from time to
>> time. When I call QProcess::terminate I see the following message at
>> the console:
>>
>> QProcess: Destroyed while process is still running.
>>
>> Is this expected? I thought to use ::terminate instead of ::kill to
>> allow the process time to clean itself up. How do I eliminate this
>> message. I'm using Qt 4.3.0 debuggable versions (maybe that's why I
>> get the message - debuggable versions?)
>>
>> Thanks in advance,
>> Susan
---
This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.
Diese Nachricht enthält vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfänger dieser E-mail sein, senden Sie bitte diese an den Absender zurück und löschen Sie die E-mail aus Ihrem System.
--
[ signature omitted ]