From 5e5f5bfa8d209b1d5c7297503e3bc1307c17ea0a Mon Sep 17 00:00:00 2001 From: thebirk Date: Wed, 8 Aug 2018 17:48:17 +0200 Subject: Fixed 'sh: main: command not found' error on linux. --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 0f63c0089..aa50620d9 100644 --- a/src/main.cpp +++ b/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 -- cgit v1.2.3