瀏覽代碼

Also return on unix

Mikkel Hjortshøj 6 年之前
父節點
當前提交
bc34083c9c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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