Run an external program in C# (cross
I have already seen System.Diagnostics, but I can't seem to figure out how to do what I want.
The user specifies what program they want run. On Windows systems this would be something like "C://path/to/someProgram.exe", but on a linux system something like "/usr/bin/wine start /path/to/someProgram.exe" would be passed instead.
My program passes additional parameters to the specified and runs it.
What can I do that will run on both windows and linux systems?
链接地址: http://www.djcxy.com/p/54604.html上一篇: C ++跨平台文件浏览器实施挑战
下一篇: 在C#中运行一个外部程序(交叉