This is the mail archive of the
mailing list for the Cygwin project.
Re: More on Job Control...
On Wed, Apr 11, 2001 at 08:05:49AM +1000, Robert Collins wrote:
>----- Original Message -----
>From: "Christopher Faylor" <firstname.lastname@example.org>
>To: "Cygwin" <email@example.com>
>Sent: Wednesday, April 11, 2001 3:05 AM
>Subject: Re: More on Job Control...
>> On Mon, Apr 09, 2001 at 12:46:46PM -0700, Mark Allan Young wrote:
>> >if I don't use the '&' and then try to suspend it
>> >with <ctrl-z>, it doesn't suspend.
>> A .bat file is not a cygwin application. Cygwin isn't a special magic
>> program that brings UNIX functionality to everything on your system.
>> CTRL-Z will only work on Cygwin applications.
>Hmmm, I wonder. Chris: if we can save the process and main thread handle
>for the child, on Ctrl-Z we could call SuspendThread. I'm happy to
>fiddle around with this (in about 3 weeks :]) unless you think it's a
You can't reliably suspend a non-cygwin process. If a program is blocked
in a ReadFile, for instance, it could result in a hang.
There is a bug here, though, as Mark Allan Young pointed out. .bat files
used to be runnable in 1.1.8 and they aren't in snapshots.
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple