I made the gtk # tool on Mac OS using xamarin. The problem is that I want to open a Mac terminal and pass some arguments.
From my code, I opened a Windows console like this, but I want to do this for a 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 to achieve this, for example, make a shell file, make changes to it and execute it, etc. This is my first time working on a Mac. Please explain from scratch. I cannot find relevant information on the Internet.
source
share