Getting /bin/env xxxx no such file or directory

Feb 13, 2014 at 7:26 PM
Hello,
I am starting to use SSH. net
When I use putty I can login and then run a command with success. After log in I type the following command:
"/usr/local/bin/runTest-ccc 10.218.48.120 neo neo c-test 1"

When I execute the command using SSH.net library I get an error:
/bin/env <name of a library> no such file or directory.

Could you give me an idea why it is giving me the error? Below, my 2 lines of code:
var cmd = client.RunCommand("/usr/local/bin/runTest-ccc 10.218.48.120 neo neo c-test 1");
cmd.Execute();

Thanks,
Feb 13, 2014 at 10:05 PM
My problem is solved. I just needed to send the command as bash