mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-14 07:29:12 +08:00
modify -cmd command line style to /cmd
This commit is contained in:
parent
74d79ea628
commit
409b92aac2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user