Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal failes to start with non-ASCII cwd #173

Open
morags opened this issue Aug 18, 2016 · 1 comment
Open

Terminal failes to start with non-ASCII cwd #173

morags opened this issue Aug 18, 2016 · 1 comment

Comments

@morags
Copy link

morags commented Aug 18, 2016

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)
@Tyriar
Copy link

Tyriar commented Jan 15, 2017

This is fixed in my fork node-pty thanks to @the-ress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants