Issue 913581: PythonLauncher-run scripts have funny $CWD (original) (raw)
Issue913581
Created on 2004-03-10 16:02 by jackjansen, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg20191 - (view) | Author: Jack Jansen (jackjansen) * ![]() |
Date: 2004-03-10 16:02 |
PythonLauncher suffers from the general .app problem that it's working directory is "/". This affects scripts run with PythonLauncher without a terminal window: they inherit that home directory. Scripts run with a terminal window get HOMEasworkingdirectory.PythonLaunchershoulddosomethingunified,bestisprobablytoeitheralwaysuseHOME as working directory. PythonLauncher should do something unified, best is probably to either always use HOMEasworkingdirectory.PythonLaunchershoulddosomethingunified,bestisprobablytoeitheralwaysuseHOME, or to use the directory where the script is located. | ||
msg20192 - (view) | Author: Jack Jansen (jackjansen) * ![]() |
Date: 2004-06-03 14:17 |
Logged In: YES user_id=45365 Fixed in PythonLauncher/main.m rev. 1.2 and 1.1.14.1, by doing a chdir() to $HOME on startup. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:03 | admin | set | github: 40020 |
2004-03-10 16:02:05 | jackjansen | create |