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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsh command -- please help

Status
Not open for further replies.

nappaji

Programmer
Mar 21, 2001
76
US
I'm trying to rsh onto a remote server and execute an application on the remote server through my PERL CGI script. The problem is that when the process gets done on the remote server, it never returns to the web page (or CGi script) and hence the script is stuck at that point and never proceeds forward. This only happens when the process takes a long time to run on the remote server (>15 mins). But for shorter processes, it returns to the web page.

Is there a way I can put this rsh command in the back ground and return to the script???

I tried adding a "&" at the end of the rsh command but that does not put it in the background.

Please help.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top