[Python-bugs-list] [ python-Bugs-625728 ] sys.executable in applets
SourceForge.net
noreply@sourceforge.net
Sat, 04 Jan 2003 02:32:01 -0800
Bugs item #625728, was opened at 2002-10-19 23:18
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=625728&group_id=5470
Category: Macintosh
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Jack Jansen (jackjansen)
Summary: sys.executable in applets
Initial Comment:
In applets sys.executable is the interpreter in the applet. Running this will launch a second copy of the applet. As sys.executable is apparently often used to fire up external scripts with system() or popen() this isn't very useful right now (especially within the IDE!).
It would be nice if sys.executable could be set to an interpreter that can be used for starting external scripts.
----------------------------------------------------------------------
>Comment By: Just van Rossum (jvr)
Date: 2003-01-04 11:32
Message:
Logged In: YES
user_id=92689
This becomes a non-issue once we build applets with
bundlebuilder.py, as the "executable" in the applet is a
shell script, and sys.executable will actually be the proper
executable. For standalone apps built with bundlebuilder.py
sys.executable points to the (still vanilla) interpreter
that was copied to the bundle, and can be used as a normal
interpreter without invoking bundle magic.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=625728&group_id=5470