Browse Source

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

Fixed 'sh: main: command not found' error on linux.
gingerBill 7 years ago
parent
commit
3928614326
1 changed files with 1 additions and 0 deletions
  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