This is the mail archive of the cygwin@sourceware.cygnus.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: bash and '&'


Hi raf,

>Wei Ku wrote:
>
>>>I want to leave a simple program running after quiting the shell, and
>>>even logging off. It's done under unix by adding '&'. I failed to do
>>>this using cygwin32. Is it supposed to behave the same way under
>>>cygwin32? What should I do?
>
>>As far as I can tell, the only shell that will do what you describe is bash.
>>Did you run bash or sh when you log in ?
>
>i thought this was done with 'nohup'.
>'&' only puts the process in the backgroup.
>it doesn't make it ignore the HUP and QUIT signals,
>or does it?

This depends on the shell, you are running this command with.
bash does not need "nohup" - at least bash on Linux systems.
Bourne shell normally needs "nohup".

>
>
>raf

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh@mike.franken.de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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