Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 3 Nov 2000 08:47:22 +0100 (MET) From: Bjoern Kahl AG Resy To: mayers AT bmc DOT com cc: cygwin AT sources DOT redhat DOT com Subject: RE: AW: AW: Starting Programms in the background In-Reply-To: <20001102183815.54489.qmail@web10703.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit On Thu, 2 Nov 2000, Mike Ayers wrote: > > This may sound like a stupid question, but have you tried simply > "winword "? I believe that Word uses CreateProcess to spawn > its own master process (WinMain()), so you shouldn't need to background > it. In fact, it may be the process launcher (main()) that you're > hanging in the background. If you try "winword " from > cmd.exe, then you can exit cmd.exe while Word is still running, so it > may work from bash, too. > > I just tried this with notepad and wordpad, and both detach from > cmd.exe but not from bash, so this may not work, but it's still worth a > try... Does not work here too. Tried it in bash with and w/o "nohup" and "&" After Ctrl-D, bash exits, but the window remains open. 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