Add string formatting to Str8

This commit is contained in:
2025-02-22 16:41:05 +00:00
parent cda7e413e2
commit 80bd68f313
6 changed files with 40 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ CMDResult wapp_shell_commander_execute(CMDOutHandling out_handling, Str8 *out_bu
}
// Redirect output
cmd_str = wapp_str8_concat(&arena, cmd_str, &wapp_str8_lit_ro(" 2>&1"));
cmd_str = wapp_str8_alloc_concat(&arena, cmd_str, &wapp_str8_lit_ro(" 2>&1"));
CMDResult output = execute_command(cmd_str, out_handling, out_buf);