@@ -89,14 +89,14 @@ func OutputWith(env map[string]string, cmd string, args ...string) (string, erro
8989return strings .TrimSuffix (buf .String (), "\n " ), err
9090}
9191
92- // Exec executes the command, piping its stderr to mage's stderr and
93- // piping its stdout to the given writer . If the command fails, it will return
94- // an error that, if returned from a target or mg.Deps call, will cause mage to
95- // exit with the same code as the command failed with. Env is a list of
96- // environment variables to set when running the command, these override the
97- // current environment variables set (which are also passed to the command). cmd
98- // and args may include references to environment variables in $FOO format, in
99- // which case these will be expanded before the command is run.
92+ // Exec executes the command, piping its stdout and stderr to the given
93+ // writers . If the command fails, it will return an error that, if returned
94+ // from a target or mg.Deps call, will cause mage to exit with the same code as
95+ // the command failed with. Env is a list of environment variables to set when
96+ // running the command, these override the current environment variables set
97+ // (which are also passed to the command). cmd and args may include references
98+ // to environment variables in $FOO format, in which case these will be
99+ // expanded before the command is run.
100100//
101101// Ran reports if the command ran (rather than was not found or not executable).
102102// Code reports the exit code the command returned if it ran. If err == nil, ran
0 commit comments