Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Readme : add Linux command line example? #68
Hi @1RedOne , are you passing the full path to the executable you are trying to run? For example,
Backlog issue #32 is about adding the abililty to search the system path for files like bash or cmd would do. From experience I've found that sometimes .NET seems to do a variant of this for us on Windows, sometimes not. It's been hard to pin down what the specific behavior is. I haven't explored the linux behavior too much, but it looks like it calls execve which does not seem to do any path searching, so I'd expect that working path is needed.
The other thing to think about is that if you're running bash built-in commands that are not standalone executables then you'll probably need to run these through bash itself. So in that case you'd have something like
Let me know if that works? Maybe we can work towards some examples that can be added to the docs page?
Thanks for the response, you were right about needing to provide the fully qualified path to the binary. On top of that, it turns out that when providing a string of command options to bash, there is some irksome quote management needed, here was the syntax that worked for me.
Note the escaped quote after
@1RedOne thanks for following up. A few thoughts on the above: