Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Trouble using .RunCommand() with ssh.net

$
0
0
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!

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>