Thus far the only solution I've got to work is to create a wrapper script, and run ant nohup from that. When the script exits (which is immediately), the nohup's parent process is immediately assigned to 1.
>From here I can close the session, and ant runs okay. This seems like a Rube Goldberg solution, but it appears to work. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 12:34 PM To: [EMAIL PROTECTED] Subject: RE: nohup not working with ant Oh yeah, I forgot about stdin,stdout and stderr. stdout and stderr get redirected to 2 files (see man page) Not sure stdin is closed or not. Not stated in Posix or svid3. Either one of the above may be your problem. suu > -----Original Message----- > From: Alexey Solofnenko [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 9:34 AM > To: 'Ant Users List' > Subject: RE: nohup not working with ant > In general "nohupped" process will exit if it asks for any > user input. I do > not think ANT would ask for anything, but what is in the > ANT's output? Does > it output any error messages? You might need to redirect > stdin, stdout and > stderr into some files in order for ANT to work. Try running > nohup without > '&' - it should not matter. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
