gpt4 book ai didi

c# - 从 C# 应用程序打开 cl.exe

转载 作者:行者123 更新时间:2023-11-30 21:20:52 24 4
gpt4 key购买 nike

我需要从我的 C# 应用程序编译 C++ 程序。在那里我需要在按下按钮时打开 cl.exe。谁能给我一些示例代码。

最佳答案

string filePath = "c:\program files\xyz\cl.exe";
System.Diagnostics.Process.Start(filePath);

关于c# - 从 C# 应用程序打开 cl.exe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3042561/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com