Open
Description
Location
rustdocs for std
Summary
I think the following methods:
Command::spawn(&mut self)
Command::output(&mut self)
Command::status(&mut self)
Child::wait(&mut self)
Child::try_wait(&mut self)
Child::wait_with_output(self)
ought to mention when they will exit with an Err(_)
. From a discussion in the community Discord:
"nils, supposedly one of the many: they will error when the command is not found
nils, supposedly one of the many: well
nils, supposedly one of the many: there are probably other conditions than "command not found"
nils, supposedly one of the many: just in general when it failed to spawn it
nils, supposedly one of the many: which can happen for all kinds of issues"
Maybe it should be a module level doc to avoid duplication.