Skip to content

Commit 7274e1b

Browse files
authored
Use Windows PowerShell instead of pwsh 7 in demo
When pwsh 7 isn't installed it's hard to figure out what the problem is.
1 parent a8fabcf commit 7274e1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

demo/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function startServer() {
6060
const cols = parseInt(req.query.cols);
6161
const rows = parseInt(req.query.rows);
6262
const isWindows = process.platform === 'win32';
63-
const term = pty.spawn(isWindows ? 'pwsh.exe' : 'bash', [], {
63+
const term = pty.spawn(isWindows ? 'powershell.exe' : 'bash', [], {
6464
name: 'xterm-256color',
6565
cols: cols ?? 80,
6666
rows: rows ?? 24,

0 commit comments

Comments
 (0)