mirror of
https://github.com/go-task/task.git
synced 2025-01-26 05:27:15 +02:00
execext: fix sh
This commit is contained in:
parent
0f24fd593e
commit
e67792177d
@ -39,12 +39,14 @@ func RunCommand(opts *RunCommandOptions) error {
|
||||
|
||||
r := interp.Runner{
|
||||
Context: opts.Context,
|
||||
Node: p,
|
||||
Dir: opts.Dir,
|
||||
Env: opts.Env,
|
||||
Stdin: opts.Stdin,
|
||||
Stdout: opts.Stdout,
|
||||
Stderr: opts.Stderr,
|
||||
}
|
||||
return r.Run()
|
||||
if err = r.Reset(); err != nil {
|
||||
return err
|
||||
}
|
||||
return r.Run(p)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user