diff --git a/src/installer.js b/src/installer.js index 981859f..4ffd14a 100644 --- a/src/installer.js +++ b/src/installer.js @@ -217,7 +217,7 @@ class EngineInstaller { name += '.cmd'; source = `@echo off\r\n${body} %*\r\n`; } else { - source = `#!/usr/bin/env bash\n${body} "$@"\n`; + source = `#!/usr/bin/env bash\nexec ${body} "$@"\n`; } const full = path.join(ESVU_PATH, 'bin', name); await fs.promises.writeFile(full, source, {