X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: Date: Tue, 11 Dec 2007 13:06:46 -0500 From: "Lev Bishop" To: tajthy AT mailbox DOT hu, cygwin AT cygwin DOT com Subject: Re: kill -STOP mencoder_pid does not stop process execution In-Reply-To: <475eaa61.2a99260a.4a5f.642aSMTPIN_ADDED@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <475eaa61 DOT 2a99260a DOT 4a5f DOT 642aSMTPIN_ADDED AT mx DOT google DOT com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id lBBI780F026259 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/