From 0090f6a75d749b9d34094fd94045f749bd5408cd Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Fri, 21 Apr 2017 14:42:26 -0700 Subject: [PATCH] `export`: Suppress output of nuget creation --- toolsrc/src/commands_export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolsrc/src/commands_export.cpp b/toolsrc/src/commands_export.cpp index d86e14ab594..d20164d1a55 100644 --- a/toolsrc/src/commands_export.cpp +++ b/toolsrc/src/commands_export.cpp @@ -92,7 +92,7 @@ namespace vcpkg::Commands::Export const fs::path& nuget_exe = paths.get_nuget_exe(); // -NoDefaultExcludes is needed for ".vcpkg-root" - const std::wstring cmd_line = Strings::wformat(LR"("%s" pack -OutputDirectory "%s" "%s" -NoDefaultExcludes)", nuget_exe.native(), paths.root.native(), nuspec_file_path.native()); + const std::wstring cmd_line = Strings::wformat(LR"("%s" pack -OutputDirectory "%s" "%s" -NoDefaultExcludes > nul)", nuget_exe.native(), paths.root.native(), nuspec_file_path.native()); const int exit_code = System::cmd_execute_clean(cmd_line); Checks::check_exit(VCPKG_LINE_INFO, exit_code == 0, "Error: NuGet package creation failed");