www.delorie.com/archives/browse.cgi | search |
Message-Id: | <200712111518.lBBFImuw007652@delorie.com> |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
From: | =?UTF-8?B?VEFKVEhZIFRhbcOhcw==?= <tajthy AT mailbox DOT hu> |
To: | cygwin AT cygwin DOT com |
Subject: | kill -STOP mencoder_pid does not stop process execution |
Reply-To: | tajthy AT mailbox DOT hu |
X-Origin: | 217.79.137.254 |
Date: | Tue, 11 Dec 2007 16:18:33 +0100 |
X-Uidl: | 119738631315067 AT mailboxhu |
X-Mailer: | VizslaMail 4.11 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id lBBFImuw007652 |
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 tried to google for this problem without luck. Why it behaves like this? How can I gracefully pauses a process execution from a script? I also found an other strange thing, which may be connected to this problem. Pressing ctrl+Z on mencoder I get a prompt, but mencoder still writes to the screen. I can enter any command and it is executed properly. Running "fg" mencoder becomes the foreground process and it writes to the screen (as normal). Why does not stops if ctrl+Z is pressed? Thanks in advance! TT _____________________________________________________________________ Rövid angol nyelvlecke következik. Elektronikus postafiók/postaláda - Mailbox www.mailbox.hu -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |