Skip to content

Commit

Permalink
fix: child_process commands throws when pkg app try to call itself
Browse files Browse the repository at this point in the history
Fixes #70
  • Loading branch information
robertsLando committed Sep 17, 2024
1 parent 7c24763 commit 23fd878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prelude/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2006,7 +2006,7 @@ function payloadFileSync(pointer) {
}
const opts = args[pos];
if (!opts.env) opts.env = _extend({}, process.env);
if (opts.env.PKG_EXECPATH === 'PKG_INVOKE_NODEJS') return;
if (opts.env.PKG_EXECPATH !== undefined) return;
opts.env.PKG_EXECPATH = EXECPATH;
}

Expand Down

0 comments on commit 23fd878

Please sign in to comment.