Sending a Ctrl-C to a qprocess

Bryan, Bill bill.bryan at eds.com
Tue Sep 9 18:58:24 BST 2003


How about a special string that says to stop the process.
Not <cntr>c, but how about 'stop', 'cntrc', 'brakes'.

-----Original Message-----
From: Cornelius Kölbel [mailto:cornelius.koelbel at gmx.de]
Sent: Tuesday, September 09, 2003 1:51 PM
To: kdevelop at kdevelop.org
Subject: Re: Sending a Ctrl-C to a qprocess


The usual kill-command does not stop the process.
(cdrdao -process)

But maybe I can experiment with some more signals.

Regards
Cornelius

Caleb Tennis wrote:

>I think instead you may want to invoke the "kill" command on that process,
or 
>look into sending a SIGINT to it.
>
>On Tuesday 09 September 2003 10:48 am, you wrote:
>  
>
>>Hello,
>>
>>maybe it is not realy the correct list.
>>But maybe someone can answer this question quickly:
>>
>>I have to send the Ctrl-C to a qprocess. I thought of using the
>>QProcess->writeToStdin function.
>>But how does the "Ctrl-C" look as a QString?
>>
>>Regards
>>Cornelius
>>
>>
>>
>>-
>>to unsubscribe from this list send an email to
>>kdevelop-request at kdevelop.org with the following body: unsubscribe
>>»your-email-address«
>>    
>>
>
>
>-
>to unsubscribe from this list send an email to
kdevelop-request at kdevelop.org with the following body:
>unsubscribe »your-email-address«
>
>
>  
>



-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org
with the following body:
unsubscribe »your-email-address«

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list