浏览代码

Merge pull request #241 from thebirk/fix-sh-main-not-found

Fixed 'sh: main: command not found' error on linux.
gingerBill 7 年之前
父节点
当前提交
3928614326
共有 1 个文件被更改,包括 1 次插入0 次删除
  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