clay-server 2.24.3-beta.4 → 2.24.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/terminal.js +1 -1
- package/package.json +1 -1
package/lib/terminal.js
CHANGED
|
@@ -13,7 +13,7 @@ function createTerminal(cwd, cols, rows, osUserInfo) {
|
|
|
13
13
|
// Determine shell: prefer target user's shell, then $SHELL, then platform default
|
|
14
14
|
var shell = (osUserInfo && osUserInfo.shell)
|
|
15
15
|
|| process.env.SHELL
|
|
16
|
-
|| (process.platform === "win32" ? process.env.COMSPEC || "cmd.exe" : "/bin/
|
|
16
|
+
|| (process.platform === "win32" ? process.env.COMSPEC || "cmd.exe" : "/bin/sh");
|
|
17
17
|
|
|
18
18
|
// Build a minimal, isolated environment (no daemon env leakage)
|
|
19
19
|
var termEnv = buildUserEnv(osUserInfo);
|