Also return on unix

This commit is contained in:
Mikkel Hjortshøj
2019-09-08 01:10:54 +02:00
committed by GitHub
parent 08dd8414c1
commit bc34083c9c
+1 -1
View File
@@ -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