Corinna wrote on 3/4/2004 8:07 AM:
On Mar 3 16:44, Gregory Borota wrote:
(I don't see the point for having stderr and stdout redirected also. (for
symmetry maybe))
In theory, redirecting all descriptors attached to the console window
should allow to close the console window since when the last
On Mar 3 16:44, Gregory Borota wrote:
> (I don't see the point for having stderr and stdout redirected also. (for
> symmetry maybe))
In theory, redirecting all descriptors attached to the console window
should allow to close the console window since when the last open
handle is closed, Cygwin cal
Under my 'CYGWIN_NT-5.1 1.5.7(0.109/3/2) i686' doing for example:
setsid ls -R /
would still block the console window (mostly for as long as ls runs).
IMO by redirecting only stdin to /dev/null one gets a setsid functionality
closer to
how setsid works under Linux and there is no difference con
Basically it allows to call an application, say `sleep', like this:
setsid sleep 10
`setsid' forks and detaches from the controlling terminal and so
the inferior application will not be attached to the terminal as
well. Or, to make it short, you can start an application as above
and immediate
This new package contains a tiny but handy tool called `setsid'.
It's the command line version of the system call setsid(2) and
is also available on a bunch of Linux distros.
Basically it allows to call an application, say `sleep', like this:
setsid sleep 10
`setsid' forks and detaches from th
5 matches
Mail list logo