[Mono-list] proper way to execute a shell script with System.Diagnostics.Process???
eric at fontanas.net
Tue Dec 18 15:08:46 UTC 2012
If I have a bash script (+x) called runjob.sh (whch is marked executable) and
I want to grab
the stdout/stderr, is the proper way to execute this is to use the
"executable" as the script?
Or should the executable be /bin/bash and the argument be the shell script.
It seems to work
by just using the shell script as the executable, however, sometimes the
output seems to get stuck?
View this message in context: http://mono.1490590.n4.nabble.com/proper-way-to-execute-a-shell-script-with-System-Diagnostics-Process-tp4657809.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list