SHELLEXECUTEINFO ShExecInfo;
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = NULL;
ShExecInfo.lpFile = char2wchar("ubuntu.exe");
ShExecInfo.lpParameters = char2wchar(" ./test.sh");
ShExecInfo.lpDirectory = char2wchar("");
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
bool b_ret=ShellExecuteEx(&ShExecInfo);
這個lpParameters如何設定才能讓ubuntu運行腳本呢
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/275913.html
標籤:其它技術問題
上一篇:想請問一下
下一篇:matlab關于音頻讀取分幀輸出
