开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜