[ python-Bugs-913581 ] PythonLauncher-run scripts have funny $CWD
SourceForge.net
noreply at sourceforge.net
Thu Jun 3 10:17:37 EDT 2004
Bugs item #913581, was opened at 2004-03-10 17:02
Message generated for change (Comment added) made by jackjansen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=913581&group_id=5470
Category: Macintosh
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Jack Jansen (jackjansen)
Summary: PythonLauncher-run scripts have funny $CWD
Initial Comment:
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 $HOME as working
directory.
PythonLauncher should do something unified, best is probably to
either always use $HOME, or to use the directory where the script
is located.
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2004-06-03 16:17
Message:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=913581&group_id=5470
More information about the Python-bugs-list
mailing list