New package: setsid-0.0-3

Corinna Vinschen
Thu Sep 18 21:18:00 GMT 2003

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 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 immediately close the Windows console window while that application
keeps running.

On Cygwin, stdin, stdout and stderr are automatically redirected to
/dev/null if they are connected to the tty (Otherwise closing the
Windows console window wouldn't succeed).  If you want to keep the
output, redirect on the command line, e.g.

  setsid ls -l > ls.out

To update your installation, click on the "Install Cygwin now" link on
the web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select "Utils"
and then click on the appropriate field until the announced version
number appears if it is not displayed already.

If you have questions or comments, please send them to the Cygwin
mailing list at: .  I would appreciate it if you would
use this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question, the Cygwin mailing list
is the appropriate place.


If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

If you need more information on unsubscribing, start reading here:

Please read *all* of the information on unsubscribing that is available
starting at this URL.

I implore you to READ this information before sending email about how
you "tried everything" to unsubscribe.  In 100% of the cases where
people were unable to unsubscribe, the problem was that they hadn't
actually read and comprehended the unsubscribe instructions.

If you need to unsubscribe from cygwin-announce or any other mailing
list, reading the instructions at the above URL is guaranteed to
provide you with the info that you need.

Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

More information about the Cygwin-announce mailing list