Trouble using .RunCommand() with ssh.net

Apr 21, 2015 at 1:31 PM
So I am trying to run a remote nodejs server with a few arguments and although I manage the start the server correctly i fail to pass on to the next command and the app fails after a 60 sec timeout. Here's my code:
SshClient ssh = new SshClient(myURL, 22, myUser, myPass);
string unixCommand = "/usr/local/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/bin/appium.js --address 127.0.0.1 --port 4723 --full-reset --device-name \"iPhone 6\" --platform-name iOS --platform-version \"8.3\" --app \"myApp.app\" --browser-name iOS -l --log /Users/QA/Library/Logs/Appium/1.log";
    {
        ssh.Connect();
        ssh.RunCommand(unixCommand);
        ssh.Disconnect();
Thanks!
Jul 13, 2015 at 2:13 PM
why to trigger command revert this command to script.sh and call the script