Try this Command, "cmd /C rsh unixhost -l root TestScript" RunAndWait Command, "", 0, rcol You can also set the timeout value (third parameter in RunAndWait) to have 24x7 forcibly close this process after certain time. : Hi, : I am running a job on Windows : which executes a remote command on a : SCO UNIX machine. : This is done using RSH utility on Windows : as follows: Set Command, "rsh unixhost -l root TestScript" : RunAndWait Command, "", 0, rcol : The command executes on the SCO host : but the command window on the Windows machine : remains open waiting for input. The command : I run on the SCO machine does not expect : any input. : If I manually press ENTER then the window : closes and the job continues. : I have tried the JAL command RunWithInput : but to no avail. : Does anyone know what the problem is? : Thanks : Sotiris
|