summaryrefslogtreecommitdiff
path: root/launcher.c
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2008-01-03 23:48:02 +0000
committerPJ Eby <distutils-sig@python.org>2008-01-03 23:48:02 +0000
commit8e3c998ec1aeeb87094e75d4fdc86db0ae3a2e1e (patch)
tree2d34b33b80961af38c88a69378347929d5b4d5a3 /launcher.c
parenta3a96aed765e2cc401b8dc555bd0e925c9d9a685 (diff)
downloadpython-setuptools-git-8e3c998ec1aeeb87094e75d4fdc86db0ae3a2e1e.tar.gz
Backport gui.exe launcher fix.
--HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4059684
Diffstat (limited to 'launcher.c')
-rwxr-xr-xlauncher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher.c b/launcher.c
index 09e2bafb..c8022505 100755
--- a/launcher.c
+++ b/launcher.c
@@ -231,8 +231,8 @@ int run(int argc, char **argv, int is_gui) {
if (is_gui) {
/* Use exec, we don't need to wait for the GUI to finish */
- execv(python, (const char * const *)(newargs));
- return fail("Could not exec %s", python); /* shouldn't get here! */
+ execv(ptr, (const char * const *)(newargs));
+ return fail("Could not exec %s", ptr); /* shouldn't get here! */
}
/* We *do* need to wait for a CLI to finish, so use spawn */