发布网友
共1个回答
热心网友
//
方法1
System.Diagnostics.Process.Start(@"cpp-console.exe",
"/1
/2");
//
立即运行
//
方法2
System.Diagnostics.Process
process
=
new
System.Diagnostics.Process();
process.StartInfo
=
new
System.Diagnostics.ProcessStartInfo(@"cpp-console.exe",
"/1
/2");
process.Start();
//
推迟运行
//
假设cpp-console.exe是你的c++控制台程序,/1
/2是参数