This is the mail archive of the
mailing list for the Cygwin project.
Background processes prevent terminal window from closing
- From: Ryan Dortmans <ryandort dot cygwin at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 5 May 2011 14:30:00 +1000
- Subject: Background processes prevent terminal window from closing
I have found that background processes prevent the terminal window
from closing. I have tried with the cmd terminal as well as mintty.
Here is a simple example:
$ notepad .profile &
The window remains until I close the notepad window. I have also
reproduced the issue using a simple looping shell script instead of a
I thought that running disown would detach the process to turn it into
a daemon, but this has no effect.
Is there any way to detach running background processes such that the
terminal can be closed?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple