[vcpkg-env] Restore previous behavior of cmd /c <arg>

This commit is contained in:
Robert Schumacher 2020-03-17 13:11:15 -07:00
parent e2efb82aa8
commit 26949af8f8

View File

@ -89,7 +89,7 @@ namespace vcpkg::Commands::Env
} }
}(); }();
std::string cmd = args.command_arguments.empty() ? "cmd" : args.command_arguments.at(0); std::string cmd = args.command_arguments.empty() ? "cmd" : ("cmd /c " + args.command_arguments.at(0));
#ifdef _WIN32 #ifdef _WIN32
System::enter_interactive_subprocess(); System::enter_interactive_subprocess();
#endif #endif