only rewrite stdout/stderr/etc. if passed cli specifically

This commit is contained in:
Ryan Fleury committed 2026-06-19 20:12:21 -07:00
1 parent fe2aa4d14c
commit 0d62c49c52
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -41,6 +41,7 @@ entry_point(CmdLine *cmd_line)
#endif
}
str8_list_push(scratch.arena, &command_parts, exe_name);
str8_list_push(scratch.arena, &command_parts, s("--cli"));
for EachIndex(idx, cmd_line->argc)
{
String8 arg = str8_cstring(cmd_line->argv[idx]);