浏览代码

Remove cwd in `odin run` for Linux

gingerBill 7 年之前
父节点
当前提交
08c87e57f8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main.cpp

+ 1 - 1
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/%.*s", cwd, LIT(output_base));
+			system_exec_command_line_app("odin run", false, "%.*s", LIT(output_base));
 		}
 	#endif