Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be07edf commit 5876063Copy full SHA for 5876063
Tools/wasm/emscripten/node_entry.mjs
@@ -35,11 +35,12 @@ const settings = {
35
mountDirectories(Module);
36
Module.FS.chdir(process.cwd());
37
Object.assign(Module.ENV, process.env);
38
+ delete Module.ENV.PATH;
39
},
40
// Ensure that sys.executable, sys._base_executable, etc point to python.sh
41
// not to this file. To properly handle symlinks, python.sh needs to compute
42
// its own path.
- thisProgram: process.argv[thisProgramIndex],
43
+ thisProgram: process.argv[thisProgramIndex].slice(thisProgram.length),
44
// After python.sh come the arguments thatthe user passed to python.sh.
45
arguments: process.argv.slice(thisProgramIndex + 1),
46
};
0 commit comments