This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Starting Programms in the background


--- Christopher Faylor <cgf@redhat.com> wrote:
> On Thu, Nov 02, 2000 at 06:10:07AM +0100, klaus.berndl@sdm.de wrote:
> >If i start a program in the background from bash (e.g.  "winword.exe
> ><document> &") then all is working fine.  But if i try to exit from the
> >bash-shell from which i have started the program before i have finished
> >the program then bash writes "logout" but doesn´t terminate until i
> >terminate all previous started programs.
> >
> >How can this be avoided, means how to exit bash regardless of any still
> >running background programs?
> 
> The only time this should happen is when you are using CYGWIN=tty.  In this
> case, the main process (bash) "owns" the tty and can't exit until every
> child which is using the tty has exited.  The only way around this is to
> not use CYGWIN=tty.
> 

Then it's broken.  I assume notty is still the default, correct?  Then the
window refuses to close until I exit the process.  This is with 1.1.6(0.29/3/2)
build.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]