starting background process and logging out

Karl M karlm30@hotmail.com
Thu Jul 7 04:21:00 GMT 2005


Hi All...

This is a Windows NT class behavior. It is why I launch keychain as a 
service...so it survives logout.

HTH,

...Karl

>From: Igor Pechtchanski To: "Maloney, Michael" Subject: Re: starting 
>background process and logging out
>Date: Wed, 6 Jul 2005 21:54:29 -0400 (EDT)
>
>On Wed, 6 Jul 2005, Maloney, Michael wrote:
>
> > I am having a problem using cygwin on both Windows 2k/2003. When I send
> > a cmd into the background and then log out of the system, the process
> > dies on me. I am using Ataman Telnet Server to login but that doesn't
> > seem to be a factor.
> >
> > I have tried nohup without any luck as well.
> >
> > nohup startWebLogic.cmd > /dev/null&
> >
> > Does anyone have any other ideas for getting this process to stick?
>
>"setsid startWebLogic.cmd > /dev/null 2>&1"
>(you have to close both stdout and stderr).
>
>If .cmd means a glorified batch file, you could also try
>"cygstart --hide startWebLogic.cmd > /dev/null 2>&1".
>
>HTH,
>	Igor
>--
>				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha@cs.nyu.edu
>ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
>"The Sun will pass between the Earth and the Moon tonight for a total
>Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list