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

Advertisement

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,300
Location:
Prague, Czechia

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

This should work: sh -c "command &"

Reply with quote

Advertisement

You can post new topics in this forum