AW: Starting Programms in the background

Bjoern Kahl AG Resy
Thu Nov 2 02:48:00 GMT 2000

On Thu, 2 Nov 2000, Corinna Vinschen wrote:

> wrote:
> > > > How can this be avoided, means how to exit bash regardless
> > > of any still running background programs?

> You're right, it happens on NT as well when starting
> background processes from the console window. This does not happen when
> starting background processes from a remote session via telnet/ssh.
> Unfortunately you can't start GUI processes from a remote session. 


 Just tried it too:

 bash exits cleanly, but the console-window stays open.
  bash> knews &

  -> "ps" doesnt show the bash any longer,
     "knews" PPID get set to "1")

 How to disconnect from controlling terminal under cygwin?
 There seems no ioctl defined to do that. (looked for some weeks ago).

 Maybe the console-window goes away, if a small wrapper is used, that
 disconnects from controlling tty and closes all io-channels to the
 terminal (stdin,stdout,stderr), then exec()s the real app.

 Is that possible?


| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www:   |

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list