Hi,
I tried to executed the following command via SshClient.CreateCommand :
detached (see trailing '&'). But it does not return until the echo command was completed.
Can somebody please help me. I need the detached execution.
Thank you very much
I tried to executed the following command via SshClient.CreateCommand :
var sshCmd = sshClient.CreateCommand("sleep 2 && echo 'complete' &");
sshCmd.Execute();
This command actually has to return immediately because it should be executeddetached (see trailing '&'). But it does not return until the echo command was completed.
Can somebody please help me. I need the detached execution.
Thank you very much