1
0
mirror of https://github.com/go-task/task.git synced 2024-12-12 10:45:49 +02:00

Do not redirect stdin while running variables commands

This commit is contained in:
Andrey Nering 2017-04-13 13:20:48 -03:00
parent 0b1a89d456
commit c105294f61

View File

@ -34,7 +34,6 @@ func handleDynamicVariableContent(value string) (string, error) {
return result, nil
}
cmd := execext.NewCommand(context.Background(), value[1:])
cmd.Stdin = os.Stdin
cmd.Stderr = os.Stderr
b, err := cmd.Output()
if err != nil {