[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop
Subject: Re: Sending a Ctrl-C to a qprocess
From: Cornelius_Kölbel <cornelius.koelbel () gmx ! de>
Date: 2003-09-14 7:41:19
[Download RAW message or body]
Well,
i did not write the process, that expects the Ctrl-C. It is an external
program.
But this worked
system("kill -SIGINT <pid>");
Regards
Cornelius
Bryan, Bill wrote:
>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@gmx.de]
>Sent: Tuesday, September 09, 2003 1:51 PM
>To: kdevelop@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@kdevelop.org with the following body: unsubscribe
>>>»your-email-address«
>>>
>>>
>>>
>>>
>>-
>>to unsubscribe from this list send an email to
>>
>>
>kdevelop-request@kdevelop.org with the following body:
>
>
>>unsubscribe »your-email-address«
>>
>>
>>
>>
>>
>>
>
>
>
>-
>to unsubscribe from this list send an email to kdevelop-request@kdevelop.org
>with the following body:
>unsubscribe »your-email-address«
>
>-
>to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
>unsubscribe »your-email-address«
>
>
>
>
-
to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
unsubscribe »your-email-address«
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic