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?

Thoughts?

Thanks.




--
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.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to