diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-22 17:45:39 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-22 17:45:39 -0700 |
| commit | 4bc91f1f269aa72dccd51a8f07134e4e66701793 (patch) | |
| tree | dab6f286b6f07b47d73a8bb05b16db66fe1dadd1 /toolsrc/src/commands_edit.cpp | |
| parent | 27bc6060203b5232bfb3b022b08ef66f64fb3ba9 (diff) | |
| download | vcpkg-4bc91f1f269aa72dccd51a8f07134e4e66701793.tar.gz vcpkg-4bc91f1f269aa72dccd51a8f07134e4e66701793.zip | |
[commands] Use Checks::exit_fail/success/with_code()
Diffstat (limited to 'toolsrc/src/commands_edit.cpp')
| -rw-r--r-- | toolsrc/src/commands_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_edit.cpp b/toolsrc/src/commands_edit.cpp index 1252790af..d9cd627d2 100644 --- a/toolsrc/src/commands_edit.cpp +++ b/toolsrc/src/commands_edit.cpp @@ -72,6 +72,6 @@ namespace vcpkg::Commands::Edit } std::wstring cmdLine = Strings::wformat(LR"("%s" "%s" "%s" -n)", env_EDITOR, portpath.native(), (portpath / "portfile.cmake").native()); - exit(System::cmd_execute(cmdLine)); + Checks::exit_with_code(VCPKG_LINE_INFO, System::cmd_execute(cmdLine)); } } |
