Pipe stderr too
This commit is contained in:
@@ -4,8 +4,9 @@ import { execFile } from 'child_process'
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
checkInputs()
|
checkInputs()
|
||||||
execFile(path(__dirname, 'entrypoint.sh'))
|
const child = execFile(path(__dirname, 'entrypoint.sh'))
|
||||||
.stdout?.pipe(process.stdout)
|
child.stdout?.pipe(process.stdout)
|
||||||
|
child.stderr?.pipe(process.stderr)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
setFailed(err instanceof Error ? err.message : err)
|
setFailed(err instanceof Error ? err.message : err)
|
||||||
|
|||||||
Reference in New Issue
Block a user