Open elichai opened 7 months ago
Makes sense to me! We already have Cmd::quiet / set_quiet
which controls echoing of the command itself. One design question is the specific naming of methods. I think fn quiet
is already wrong, as it is very unclear what that does. So perhaps we can deprecate that and come up with some clearer API
@matklad Maybe something like echo_command()
and echo_env()
?
something like
Cmd::set_verbose(self, bool)
that if set will print to stderr$ ENV1=KEY1 ENV2=KEY2 ... CMD ARGS
this will help debug errors when setting enviroment variables