Reputation: 4081
HI,
I would like to run a cygwin compiled program in visual studio using c#
Thanks :)
L
BTW:
System.Diagnostics.Process MyProcess = new System.Diagnostics.Process();
MyProcess.StartInfo.UseShellExecute = false;
MyProcess.StartInfo.FileName = "C:\\cygwin\\Cygwin.bat";
MyProcess.StartInfo.CreateNoWindow = true;
MyProcess.Start();
This is the code I've tried so far, I have no idea how to make it run the cygwin compiled program tho (AGFL's EP4IR is the targeted program to run)
Thanks
Upvotes: 0
Views: 1529
Reputation: 16226
Just like any other program. Are you running any concrete well-known program or your own?
Also, see this related question here on StackOverflow: Executing a Cygwin process from .NET
Upvotes: 1