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

New Post: Run command unblocking

$
0
0
Hi,
I am using ssh.net library to run the following command in a Linux box that executes commands to another system:
bash -l -c '/usr/local/bin/runTest ip user pass Test_Case 1'

However, I would want to run the command in a non-blocking mode.

I tried adding a & at the end and it has the opposite effect since it keeps the bash command open.

Any ideas on how to achieve this?
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>