From c977e3861d24f54b589e321c852a79b027df899b Mon Sep 17 00:00:00 2001 From: nicole mazzuca Date: Tue, 19 Jan 2021 19:42:00 -0800 Subject: [PATCH] [vcpkg] fix edit command on windows (#15767) * [vcpkg] fix edit command on windows * format --- toolsrc/src/vcpkg/commands.edit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolsrc/src/vcpkg/commands.edit.cpp b/toolsrc/src/vcpkg/commands.edit.cpp index c8455bb923f..720f6b14d68 100644 --- a/toolsrc/src/vcpkg/commands.edit.cpp +++ b/toolsrc/src/vcpkg/commands.edit.cpp @@ -263,8 +263,8 @@ namespace vcpkg::Commands::Edit if (editor_exe == "Code.exe" || editor_exe == "Code - Insiders.exe") { // note that we are invoking cmd silently but Code.exe is relaunched from there - System::cmd_execute_background( - System::Command("cmd").string_arg("/c").string_arg(cmd_line.command_line()).raw_arg("