-
Notifications
You must be signed in to change notification settings - Fork 32
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
macOS: the current working directory is /, rather than the user's home directory #108
Comments
Jay's diagnosis:
Possible solutions:
But neither of these feel quite right to me, because if I start RIDE from the command line (e.g. on Linux) and spawn an interpreter, I might reasonably expect that the spawned interpreter is running in the same directory that I started RIDE from. So, I propose to add a new "working directory" option when you spawn an interpreter. The field will be prefilled with the value of $HOME, but you can set it to anything you like, including "" (empty) to inherit RIDE's own cwd. |
This sounds like a good solution. In the UI, Please could you expand $HOME, though. As a user - I might have no idea what $HOME means, but I know exactly what /Users/Jason (macOS) or /home/jason (Linux) is. |
There's still a problem: when you start RIDE with RIDE_SPAWN=dyalog, you don't get a chance to set the working directory, so it still defaults to / on the Mac. |
The intent of those commits is:
|
Start APL/RIDE on macOS
)SH pwd
/
IDE:
Version: 4.0.2679
Platform: MacIntel
Date: 2017-03-01 19:10:37 +0000
Git commit: c359f66
Preferences:{
}
Interpreter:
Version: 16.0.29355
Platform: Mac-64
Edition: Unicode/64
Date: Mar 2 2017 at 02:32:24
The text was updated successfully, but these errors were encountered: