[EMAIL PROTECTED] wrote:
Hey, I am a newbie using Mono. I am using mono to create a gui frontend for some
bash scripts that I use to maintain my lab. I would like to know how I can call
my bash scripts using mono. Once the user enters their options on the form then
these will be sent as parameters to my bash script and then the bash script will
process the information. This is where I got stuck since I have not found any
example on how to do this. Can anyone please help me....

Have a look at System.Diagnostics.Process.

Process p = Process.Start("your-shell-script", "the args ...");
p.WaitForExit ();


Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to