modify -cmd command line style to /cmd

This commit is contained in:
Wild.Farmer 2017-06-24 22:10:15 +08:00
parent 74d79ea628
commit 409b92aac2

View File

@ -181,7 +181,7 @@ void StartCmder(std::wstring path, bool is_single_mode, std::wstring taskName =
} }
if (!taskName.empty()) { if (!taskName.empty()) {
swprintf_s(args, L"%s -run {%s}", args, taskName.c_str()); swprintf_s(args, L"%s /run {%s}", args, taskName.c_str());
} }
SetEnvironmentVariable(L"CMDER_ROOT", exeDir); SetEnvironmentVariable(L"CMDER_ROOT", exeDir);