-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Readme : add Linux command line example? #68
Comments
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:
|
Hi!
This works great for me in windows dotnet core apps but I cannot get the syntax right for running bash commands, I keep getting 'file not found errors'.
Could we have one or two bash command examples, maybe running apt-get or ifconfig or something?
The text was updated successfully, but these errors were encountered: