diff options
| author | Morten Vassvik <mvassvik@gmail.com> | 2018-03-01 12:58:57 +0100 |
|---|---|---|
| committer | Morten Vassvik <mvassvik@gmail.com> | 2018-03-01 12:58:57 +0100 |
| commit | cb7a343caf0a84c1c5b1ebde4b8845e2fced9f35 (patch) | |
| tree | 7207d443674f6a2b71f5713002b061782c69ed02 /src/main.cpp | |
| parent | 40542e6e2606f9370ce19755ee704ffb24c8921e (diff) | |
Fixed '_alloc_command_line_arguments()' in os_linux.odin to use the new cstrings, and made 'odin run' use the full executable path.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f2fde5dc8..1e852102b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -983,7 +983,7 @@ int main(int arg_count, char **arg_ptr) { remove_temp_files(output_base); if (run_output) { - system_exec_command_line_app("odin run", false, "%.*s", LIT(output_base)); + system_exec_command_line_app("odin run", false, "%s/%.*s", cwd, LIT(output_base)); } #endif |