【发布时间】:2011-09-10 20:49:22
【问题描述】:
我有一个控制台命令,类似于:
std::wstring ConsoleCommand;
ConsoleCommand = L"c:\\somepath\\anotherpath\\program.exe -opt1 /opt2 --opt3";
我想执行这个命令。
我该怎么做?
(可能是 Win32 API 函数,或标准 C/C++ 库。)
【问题讨论】:
标签: c++ unicode command-line console wstring