Better handling of recipes and subprocesses.
This commit is contained in:
parent
bd5c30c30a
commit
fc1d2ebfb8
3 changed files with 82 additions and 49 deletions
2
parse.go
2
parse.go
|
|
@ -112,7 +112,7 @@ func parsePipeInclude(p *parser, t token) parserStateFun {
|
|||
args[i-1] = p.tokenbuf[i].val
|
||||
}
|
||||
|
||||
output, success := subprocess("sh", args, "", false, false, true)
|
||||
output, success := subprocess("sh", args, "", true)
|
||||
if !success {
|
||||
p.basicErrorAtToken("subprocess include failed", t)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue