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

Author Message
Guest




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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
This should work: sh -c "command &"
Guest




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

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License