in reply to Re: hanging process
in thread hanging process

The program starts up okay. The program itself doesn't require any input. Its a "daemon" process but locks on occasion so I have written a kill script and this is the start script. The problem I have been having is that the internal shell from exec or system does not seem to exit after the program is finished executing. I did try typing in 'ls' and it executed as if the shell was still open. I have seen this appear often when backgrounding processes. This is where I got the <newline> comment.
The web interface looks for output from nohup on stdout. Beyond the fact..the program works but hangs on the web interace. I have another program which calls 'ps -ef| grep <input>' and it shows the program running no problem.

Thank you,

Adam