Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Thank you so much for the reply. Appreciate your help on this.
martin

Re: how to run remote command as background process and get process id

This should work: sh -c "command &"
Guest

how to run remote command as background process and get process id

Hi,

How to run remote command as a background process. When I try to run a command as background process using & symbol, I got an error message "; echo "WinSCP: this is end-of-file:$?"'" and the connection got closed.

Can anyone please suggest why?

Regards,
Karthik