-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Change terminal current working directory in Node.js #89
Comments
Node.js scripts can't directly change the current working directory of the terminal. On macOS, you could use AppleScript or JSX to do it. No idea what the equivalent on Windows is though. |
(sorry for some reason this issue was the first of the list, didn't realize it was from 2017) |
iTerm seems to support setting a CWD. See https://github.com/sindresorhus/ansi-escapes#itermsetcwdpath for an implementation. |
Anything? I wanted the same thing too... |
Where @axetroy? I don't see it. |
I wrote a cli tool to doing something, and I want cd to the other directory when the process exit(not process.chdir, like run
cd xx
in terminal)I found a lib robotjs can do it.
but got problme in Windows and this module's size is to large for me.
anyone want to create the module or got some better idea?
The text was updated successfully, but these errors were encountered: