Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How to issue an rsh command to run in the background?

Example: within a batch file i call rsh -lroot /etc/rtcinst/myscript.ksh

which runs on a remote unix machine. This script takes a while to execute, and I want my batch file to continue running parallel to this ksh script.

the idea is, that the batch file that executes this command will continue running and not block until the script returns/exits.

share|improve this question
I call this command within a batch file. –  Hirschkaefer Dec 1 '11 at 14:33
rsh -lroot /etc/rtcinst/myscript.ksh –  Hirschkaefer Dec 1 '11 at 14:34
Have u tried to use '&' ? –  Boban P. Dec 1 '11 at 14:41
Do you really call rsh from a DOS shell script? –  Sven Dec 1 '11 at 14:44
Who knew? There's apparently a usable rsh for Windows. That said, I wasn't aware of DOS being able to do job control in general. –  cjc Dec 1 '11 at 14:51

1 Answer 1

If you don't mind having a second command prompt window running, Windows XP and newer have the start command available to launch a command in another command prompt window.


start /min rsh -lroot /etc/rtcinst/myscript.ksh
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.