| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bddf413 commit 0c62bd1
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,7 +33,10 @@ const pkgPath = path.join(common.tmpDir, 'package.json'); | |||
| 33 | 33 | fs.writeFileSync(pkgPath, pkgContent); | |
| 34 | 34 | ||
| 35 | 35 | const proc = spawn(process.execPath, args, { | |
| 36 | - cwd: common.tmpDir | ||
| 36 | + cwd: common.tmpDir, | ||
| 37 | + env: { | ||
| 38 | + PATH: path.dirname(process.execPath) | ||
| 39 | + } | ||
| 37 | 40 | }); | |
| 38 | 41 | ||
| 39 | 42 | function handleExit(code, signalCode) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments