mirror of
https://github.com/go-task/task.git
synced 2025-03-27 21:48:54 +02:00
Do not redirect stdin while running variables commands
This commit is contained in:
parent
0b1a89d456
commit
c105294f61
@ -34,7 +34,6 @@ func handleDynamicVariableContent(value string) (string, error) {
|
|||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
cmd := execext.NewCommand(context.Background(), value[1:])
|
cmd := execext.NewCommand(context.Background(), value[1:])
|
||||||
cmd.Stdin = os.Stdin
|
|
||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
b, err := cmd.Output()
|
b, err := cmd.Output()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user