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: rxvt: Ctrl+C leaves child process of native processes

On Fri, Oct 27, 2006 at 05:40:36PM -0700, Hari Krishna Dara wrote:
>When I hit ^C in an rxvt window (no X), it doesn't result in killing
>all the child processes.
>In this specific case, I am running ant, either through ant.bat, ant
>(shell script) or through a custom perl wrapper (which directly
>executes java bypassing  ant.bat or ant).
>When the perl wrapper is used it is started from another batch file,
>so here is how the process execution:
>- batch starts a perl command
>- perl command starts java (ant)
>- ant starts another java process
>The process tree as shown by sysinternals' process explorer is:
> cmd
>   perl
>     java
>       java
>When I hit ^C, bash and cmd exit immediately leaving perl and the two
>java processes.

Cygwin has no way of knowing what the children of non-cygwin
subprocesses are.  So, as you've found, if you don't use a Cygwin
program, you won't get linux-like signal results.  This shouldn't be
*too* surprising.


Unsubscribe info:
Problem reports:

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