Browse Source

Fixed 'sh: main: command not found' error on linux.

thebirk 7 năm trước cách đây
mục cha
commit
5e5f5bfa8d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/main.cpp

+ 1 - 0
src/main.cpp

@@ -1084,6 +1084,7 @@ int main(int arg_count, char **arg_ptr) {
 		remove_temp_files(output_base);
 
 		if (run_output) {
+			output_base = path_to_full_path(heap_allocator(), output_base);
 			system_exec_command_line_app("odin run", false, "\"%.*s\"", LIT(output_base));
 		}
 	#endif