开发者

How do you run a cygwin-compiled program from windows c# (visual studio)?

开发者 https://www.devze.com 2022-12-26 16:03 出处:网络
HI, I would like to run a cygwin compiled program in visual studio us开发者_如何学Cing c# Thanks :)

HI,

I would like to run a cygwin compiled program in visual studio us开发者_如何学Cing 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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消