bunpen: more verbose logging when we exec

This commit is contained in:
2024-09-03 01:45:28 +00:00
parent 0279c030de
commit 04eb5ed012

View File

@@ -27,7 +27,7 @@ fn do_exec(path: str, args: []str) (os::exec::error | void) = {
fn prepare_env(req: config::cli_request) config::exec_params = { fn prepare_env(req: config::cli_request) config::exec_params = {
{ {
let argv_str = strings::join(" ", os::args[1..]...); let argv_str = strings::join(" ", os::args...);
defer free(argv_str); defer free(argv_str);
log::printfln("invoked with: {}", argv_str); log::printfln("invoked with: {}", argv_str);
}; };