This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: kill -STOP mencoder_pid does not stop process execution
- From: "Lev Bishop" <lev dot bishop at gmail dot com>
- To: tajthy at mailbox dot hu, cygwin at cygwin dot com
- Date: Tue, 11 Dec 2007 13:06:46 -0500
- Subject: Re: kill -STOP mencoder_pid does not stop process execution
- References: <475eaa61.2a99260a.4a5f.642aSMTPIN_ADDED@mx.google.com>
On Dec 11, 2007 10:18 AM, TAJTHY Tamás wrote:
> Dear List,
>
> sometimes I have to pause the execution of the mencoder process on my cygwin
> hosted by an XP SP2. If I press Ctrl+S the mencoder is stopped nicely. I wanted
> to pause it from a script. I tried the normal UNIX way sending a SIGSTOP signal
> to the process (kill -STOP mencoder_PID) from an other bash window. Running "ps"
> I could see it had "S" status, but mencoder was still writing to stdout and the
> CPU usage was still nearly 100%. I even tried "kill -TSTP mencoder_PID", but the
> same result.
I think this is because of this longstanding cygwin issue:
http://cygwin.com/ml/cygwin-patches/2003-q4/msg00055.html
Which I think may also be the reason why it usually makes my console
unusable if I try to use ^Z to suspend, eg,
$ yes | less
(Although I haven't looked at this stuff in ages, so maybe I don't
know what I'm talking about -- I'm sure CGF will pipe up if I'm
completely wrong).
Lev
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/