mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 01:24:47 +08:00
[vcpkg-env] Restore previous behavior of cmd /c <arg>
This commit is contained in:
parent
e2efb82aa8
commit
26949af8f8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user