pty.js
pty.js copied to clipboard
Terminal failes to start with non-ASCII cwd
Calling pty.startProcess() with a cwd that has non-ASCII characters (eg. Hebrew) raises the following error:
Unable to start terminal process. Win32 error code: 267. The error code suggests an invalid directory name.
// cwd = E:\
Cannot find module '..\build\Release\pty.node'
// cwd = E:\מסמכים\תוכנות\Eclipse\Coursework
Cannot find module '..\build\Release\pty.node'
Unable to start terminal process. Win32 error code: 267 Error: Unable to start terminal process. Win32 error code: 267
at Error (native)
at Server.<anonymous> (C:\Users\morags\.atom\packages\platformio-ide-terminal\node_modules\pty.js\lib\pty_win.js:68:9)
at emitOne (events.js:77:13)
at Server.emit (events.js:169:7)
at Pipe.onconnection (net.js:1430:8)
This is fixed in my fork node-pty thanks to @the-ress.