Check the content of STDOUT and STDERR.
According to the nohup man page:
You have to compare it to the command option of your ssh client (e.g. plink):
According to the nohup man page:
126 nohup found the utility program but could not invoke it.
RunCommand() is not the same like starting the command in a full (Putty-)Shell.You have to compare it to the command option of your ssh client (e.g. plink):
C:\Windows\System32>"c:\Program Files (x86)\PuTTY\plink.exe" test "nohup /dev/null"
nohup: failed to run command ÔÇÿ/dev/nullÔÇÖ: Permission denied
This does the same like RunCommand() in SSH.NET.