Skip to content

Commit 936211b

Browse files
committed
use absolute path for 'env'; fixes microsoft#105642
1 parent a87c4fa commit 936211b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/debug/node/terminals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export function prepareCommand(shell: string, args: string[], cwd?: string, env?
177177
command += `cd ${quote(cwd)} ; `;
178178
}
179179
if (env) {
180-
command += 'env';
180+
command += '/usr/bin/env';
181181
for (let key in env) {
182182
const value = env[key];
183183
if (value === null) {

0 commit comments

Comments
 (0)