aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMorten Vassvik <mvassvik@gmail.com>2018-03-01 12:58:57 +0100
committerMorten Vassvik <mvassvik@gmail.com>2018-03-01 12:58:57 +0100
commitcb7a343caf0a84c1c5b1ebde4b8845e2fced9f35 (patch)
tree7207d443674f6a2b71f5713002b061782c69ed02 /src/main.cpp
parent40542e6e2606f9370ce19755ee704ffb24c8921e (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.cpp2
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