Run command unblocking

Feb 25, 2014 at 12:52 AM
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.
Feb 25, 2014 at 12:44 PM
SshCommand supports Async execution with BeginExecute().
Mar 4, 2014 at 1:21 AM
Thanks for your response it helped me solve my issue.