Concurrent rule execution.
This commit is contained in:
parent
115d8425be
commit
ee70f46012
6 changed files with 518 additions and 31 deletions
6
parse.go
6
parse.go
|
|
@ -114,7 +114,11 @@ func parsePipeInclude(p *parser, t token) parserStateFun {
|
|||
args[i-1] = p.tokenbuf[i].val
|
||||
}
|
||||
|
||||
output := executeRecipe("sh", args, "", false, false, true)
|
||||
output, success := subprocess("sh", args, "", false, false, true)
|
||||
if !success {
|
||||
p.basicErrorAtToken("subprocess include failed", t)
|
||||
}
|
||||
|
||||
parseInto(output, fmt.Sprintf("%s:sh", p.name), p.rules)
|
||||
|
||||
p.clear()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue