mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(bisect): inherit parent ENV when launching script (#4842)
This commit is contained in:
parent
d687c81cd5
commit
2871bcd57d
@ -116,6 +116,7 @@ function runScript(scriptPath, revisionInfo) {
|
|||||||
const child = fork(scriptPath, [], {
|
const child = fork(scriptPath, [], {
|
||||||
stdio: ['inherit', 'inherit', 'inherit', 'ipc'],
|
stdio: ['inherit', 'inherit', 'inherit', 'ipc'],
|
||||||
env: {
|
env: {
|
||||||
|
...process.env,
|
||||||
PUPPETEER_EXECUTABLE_PATH: revisionInfo.executablePath,
|
PUPPETEER_EXECUTABLE_PATH: revisionInfo.executablePath,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user