This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: kill -STOP mencoder_pid does not stop process execution


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]