Skip to content

Commit bf84091

Browse files
committed
Fix terminal on Windows
- Turn conpty off; for some reason it doesn't work as expected - Use relative reference to cmd.exe Signed-off-by: David Thompson <davidethompson@me.com>
1 parent fe6c9a8 commit bf84091

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/webview/openshift-terminal/openShiftTerminal.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,9 @@ class OpenShiftTerminal {
153153
const escapedArgs = Array.isArray(this._args)
154154
? this._args.join(' ')
155155
: this._args;
156+
this._options.useConpty = false;
156157
this._pty = ptyInstance.spawn(
157-
'C:\\WINDOWS\\system32\\cmd.EXE',
158+
'cmd.EXE',
158159
[
159160
'/c',
160161
`${this._file} ${escapedArgs}`,

0 commit comments

Comments
 (0)