Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shell-script: nohup output goes to webbrowser - not to nohup.out

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i'm running a shell-script as cgi. the skript only calls "nohup command &". when i call this cgi from a website the output doesn't goes to nohup.out - it will be displayed in the webbrowser. but when i call it from the command-line all is fine. what's wrong?
 
Hi,
As you are running it as cgi, the web server will always throw the output to a browser unless specified. So give the output redirection also inside the script and check.
I don't know any other way. Thanks & Regards,
DoubleH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top