Skip to content

Commit

Permalink
[svn r3561] fix --python
Browse files Browse the repository at this point in the history
  • Loading branch information
ianb committed Aug 28, 2008
1 parent 6d57853 commit 77d928a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions virtualenv.py
Expand Up @@ -363,6 +363,9 @@ def main():
else:
logger.notify('Running virtualenv with interpreter %s' % interpreter)
env['VIRTUALENV_INTERPRETER_RUNNING'] = 'true'
file = __file__
if file.endswith('.pyc'):
file = file[:-1]
os.execvpe(interpreter, [interpreter, __file__] + sys.argv[1:], env)

if not args:
Expand Down

0 comments on commit 77d928a

Please sign in to comment.