我成功地使用System.Diagnostics.Process.Start()在Windows上启动我的外部mono可执行文件。但是在Mac上失败了。我没有得到任何错误,仅仅什么都没有发生。
我尝试以以下方式进行:
System.Diagnostics.Process.Start("mono", "/path/program.exe");
我也尝试过像以下这样打开终端(但也失败了):
System.Diagnostics.Process.Start("Terminal");
我唯一能做的就是以以下方式启动终端:
System.Diagnostics.Process.Start("open", "-a Terminal");
有任何想法吗?非常感谢任何帮助。
谢谢!