@@ -524,6 +524,14 @@ export class ToolRunner extends events.EventEmitter {
|
||||
resolve(exitCode)
|
||||
}
|
||||
})
|
||||
|
||||
if (this.options.input) {
|
||||
if (!cp.stdin) {
|
||||
throw new Error('child process missing stdin')
|
||||
}
|
||||
|
||||
cp.stdin.end(this.options.input)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user