Function gix_command::prepare
source · pub fn prepare(cmd: impl Into<OsString>) -> Prepare
Expand description
Prepare cmd
for spawning by configuring it with various builder methods.
Note that the default IO is configured for typical API usage, that is
stdin
is null to prevent blocking unexpectedly on consumption of stdinstdout
is captured for consumption by the callerstderr
is inherited to allow the command to provide context to the user