diff --git a/osx_installer.py b/osx_installer.py index ba49c9c622..d464219bfb 100644 --- a/osx_installer.py +++ b/osx_installer.py @@ -89,7 +89,7 @@ for s, l in zip(scripts, links): os.close(fd) os.chmod(name, 0700) try: - pipe = auth.executeWithPrivileges(name) + pipe = auth.executeWithPrivileges(sys.executable, name) sys.stdout.write(pipe.read()) pipe.close() except: