try using shell parameter
This commit is contained in:
@@ -4,7 +4,7 @@ import { resolve } from 'path'
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
checkInputs()
|
checkInputs()
|
||||||
const child = execFile(resolve(__dirname, 'entrypoint.sh'))
|
const child = execFile(resolve('entrypoint.sh'), [], { shell: true })
|
||||||
child.stdout?.pipe(process.stdout)
|
child.stdout?.pipe(process.stdout)
|
||||||
child.stderr?.pipe(process.stderr)
|
child.stderr?.pipe(process.stderr)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user