Browse Source

Also return on unix

Mikkel Hjortshøj 6 years ago
parent
commit
bc34083c9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main.cpp

+ 1 - 1
src/main.cpp

@@ -1366,7 +1366,7 @@ int main(int arg_count, char **arg_ptr) {
 			//NOTE(thebirk): This whole thing is a little leaky
 			String complete_path = concatenate_strings(heap_allocator(), output_base, output_ext);
 			complete_path = path_to_full_path(heap_allocator(), complete_path);
-			system_exec_command_line_app("odin run", "\"%.*s\" %.*s", LIT(complete_path), LIT(run_args_string));
+			return system_exec_command_line_app("odin run", "\"%.*s\" %.*s", LIT(complete_path), LIT(run_args_string));
 		}
 	#endif