mirror of
https://github.com/go-task/task.git
synced 2025-06-27 00:51:05 +02:00
allow custom Stdin, Stdout and Stderr while running as a lib
This commit is contained in:
@ -36,7 +36,7 @@ func (e *Executor) handleDynamicVariableContent(value string) (string, error) {
|
||||
Command: strings.TrimPrefix(value, "$"),
|
||||
Dir: e.Dir,
|
||||
Stdout: buff,
|
||||
Stderr: os.Stderr,
|
||||
Stderr: e.Stderr,
|
||||
}
|
||||
if err := execext.RunCommand(opts); err != nil {
|
||||
return "", err
|
||||
|
Reference in New Issue
Block a user