nohup command in script doesn't return to system console prompt
Hi,
I have a script that I am using to start a process with the nohup command and it does not return to the console prompt upon completion of the script. Has anyone seen this and what might I be missing from the nohup line? The line reads like this: nohup ./start_iq8dfserver.sh </dev/null \ & I've also tried it without the </dev/null \ and with out the \ at the end before the &. Thanks |
It's mystical.. It should return to console immediately after starting script - when you do not put '\' before '&'. Does
'while true; do echo >/dev/null; done &' go to background ? To stop it run 'fg' and press 'Ctrl-C'. |
We tried the 'while true; do echo >/dev/null; done &' and it does go to the background. But the script doesn't with us manually hittihg enter.
|
Any clues in "nohup.out"?
|
I found a work around seems to be working for us. I changed the code to:
nohup ./start_iq8dfserver.sh >>nohup.out 2>&1 & |
All times are GMT -5. The time now is 02:52 PM. |