delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/11/13:07:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <ba40711f0712111006l69e1ff67id2a68aad443a9df2@mail.gmail.com>
Date: Tue, 11 Dec 2007 13:06:46 -0500
From: "Lev Bishop" <lev DOT bishop AT gmail DOT com>
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019