我尝试在 Mac 上使用 NativeProcess 启动程序。
pathEV="/Applications/MyFolder/MyAppOSX.app"
var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
var fileEV:File = new File();
fileEV=fileEV.resolvePath(pathEV);
nativeProcessStartupInfo.executable = fileEV;
var process:NativeProcess = new NativeProcess();
process.start(nativeProcessStartupInfo);
但是出现了这个错误:Error #3214: NativeProcessStartupInfo.executable does not specified an valid executable file
你能帮我解决这个问题吗?谢谢