delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/02/05:50:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 2 Nov 2000 11:48:01 +0100 (MET)
From: Bjoern Kahl AG Resy <kahl AT informatik DOT uni-kl DOT de>
To: cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: AW: Starting Programms in the background
In-Reply-To: <3A013FC0.340472FC@redhat.com>
Message-ID: <Pine.SO4.4.05.10011021136160.2996-100000@irz1.informatik.uni-kl.de>
MIME-Version: 1.0

On Thu, 2 Nov 2000, Corinna Vinschen wrote:

> klaus DOT berndl AT sdm DOT de 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. 


 Hi!

 Just tried it too:

 bash exits cleanly, but the console-window stays open.
 (Tried
  bash> knews &
  <Ctrl-D>

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


 Question:
 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?

 Bjoern

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


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019