Skip to content

Commit 80f0a6b

Browse files
committed
Fix env var load
1 parent eda6cf8 commit 80f0a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spec-common/injectHeadless.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ async function runUserEnvProbe(userEnvProbe: UserEnvProbe, params: { allowSystem
849849

850850
// handle popular non-POSIX shells
851851
const name = path.posix.basename(systemShellUnix);
852-
const command = `echo -n ${mark}; ${cmd}; echo -n ${mark}`;
852+
const command = `'echo -n ${mark}; ${cmd}; echo -n ${mark}'`;
853853
let shellArgs: string[];
854854
if (/^pwsh(-preview)?$/.test(name)) {
855855
shellArgs = userEnvProbe === 'loginInteractiveShell' || userEnvProbe === 'loginShell' ?

0 commit comments

Comments
 (0)