Skip to content

Commit 6cba129

Browse files
authored
Revert "fix: use bash resolve shellpath" (#2347)
1 parent 84ccf2c commit 6cba129

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core-node/src/bootstrap/shell-path.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function createUpdateShellPathPromise(): Promise<void> {
4949
shellPath = await new Promise((resolve, reject) => {
5050
const buf: Buffer[] = [];
5151
const proc = spawn(
52-
'/bin/bash',
52+
process.env.SHELL || '/bin/bash',
5353
['-ilc', 'echo -n "_SHELL_ENV_DELIMITER_"; env; echo -n "_SHELL_ENV_DELIMITER_"; exit;'],
5454
{
5555
stdio: ['ignore', 'pipe', 'pipe'],

0 commit comments

Comments
 (0)