diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-10 17:33:23 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-10 17:33:23 -0800 |
| commit | 78ca952d76b351d5c0478dbcfc223c773c58996c (patch) | |
| tree | e27fb70e5813eb14432d2fe28b0b871198300fb6 /toolsrc/src | |
| parent | f2edc1256181fef986e7e23f5cd7fc1f169c12ed (diff) | |
| download | vcpkg-78ca952d76b351d5c0478dbcfc223c773c58996c.tar.gz vcpkg-78ca952d76b351d5c0478dbcfc223c773c58996c.zip | |
Use System::cmd_executeClean()
Diffstat (limited to 'toolsrc/src')
| -rw-r--r-- | toolsrc/src/commands_integrate.cpp | 2 | ||||
| -rw-r--r-- | toolsrc/src/metrics.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_integrate.cpp b/toolsrc/src/commands_integrate.cpp index 4ccd6d435..f98b9f77c 100644 --- a/toolsrc/src/commands_integrate.cpp +++ b/toolsrc/src/commands_integrate.cpp @@ -269,7 +269,7 @@ namespace vcpkg::Commands::Integrate // Using all forward slashes for the command line const std::wstring cmd_line = Strings::wformat(LR"("%s" pack -OutputDirectory "%s" "%s" > nul)", nuget_exe.native(), buildsystems_dir.native(), nuspec_file_path.native()); - const int exit_code = System::cmd_execute(cmd_line); + const int exit_code = System::cmd_execute_clean(cmd_line); const fs::path nuget_package = buildsystems_dir / Strings::format("%s.%s.nupkg", nuget_id, nupkg_version); Checks::check_exit(exit_code == 0 && fs::exists(nuget_package), "Error: NuGet package creation failed"); diff --git a/toolsrc/src/metrics.cpp b/toolsrc/src/metrics.cpp index b8e469f6e..d0e20fe2d 100644 --- a/toolsrc/src/metrics.cpp +++ b/toolsrc/src/metrics.cpp @@ -417,6 +417,6 @@ true std::ofstream(vcpkg_metrics_txt_path) << payload; const std::wstring cmdLine = Strings::wformat(L"start %s %s", temp_folder_path_exe.native(), vcpkg_metrics_txt_path.native()); - System::cmd_execute(cmdLine); + System::cmd_execute_clean(cmdLine); } } |
