I have made a gtk# tool in Mac OS using xamarin. The problem is that, i want to open Mac terminal and pass some arguments.
From my code i was opening windows console like this but i want to do this for MAC.
System.Diagnostics.Process p = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo ();
info.FileName="cmd.exe";
info.Arguments ="/C commands||pause";
p.StartInfo = info;
p.Start ();
Is there any other way of achieving this thing like making a shell file and make changes in it and execute etc. This is my first time i am working on Mac. Please explain from scratch. i Can't find related information on internet.