diff options
| author | Mikkel Hjortshøj <fyoucon@gmail.com> | 2019-09-08 01:09:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-08 01:09:04 +0200 |
| commit | 08dd8414c1f7c97e91f082cdace0bcea56603df4 (patch) | |
| tree | cca18795cf6657470e832e84b0ff3cf6e33d5e00 /src/main.cpp | |
| parent | d54255505a1b7b2a460ce7f4a18ea30a92286aa1 (diff) | |
Make `odin run` return the process exit code
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 05fa6c366..00490bce7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1219,7 +1219,7 @@ int main(int arg_count, char **arg_ptr) { remove_temp_files(output_base); if (run_output) { - system_exec_command_line_app("odin run", "%.*s.exe %.*s", LIT(output_base), LIT(run_args_string)); + return system_exec_command_line_app("odin run", "%.*s.exe %.*s", LIT(output_base), LIT(run_args_string)); } #else timings_start_section(&timings, str_lit("ld-link")); |