Fixed '_alloc_command_line_arguments()' in os_linux.odin to use the new cstrings, and made 'odin run' use the full executable path.

This commit is contained in:
Morten Vassvik
2018-03-01 12:58:57 +01:00
parent 40542e6e26
commit cb7a343caf
2 changed files with 2 additions and 2 deletions

View File

@@ -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