From 409b92aac2eeb662c047e0f4625f217cb856c8d2 Mon Sep 17 00:00:00 2001 From: "Wild.Farmer" Date: Sat, 24 Jun 2017 22:10:15 +0800 Subject: [PATCH] modify -cmd command line style to /cmd --- launcher/src/CmderLauncher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/src/CmderLauncher.cpp b/launcher/src/CmderLauncher.cpp index 164b87e..da97b69 100644 --- a/launcher/src/CmderLauncher.cpp +++ b/launcher/src/CmderLauncher.cpp @@ -181,7 +181,7 @@ void StartCmder(std::wstring path, bool is_single_mode, std::wstring taskName = } 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);