Skip to content

Commit

Permalink
Merge branch 'rez-python' of https://github.com/davidlatwe/rez into d…
Browse files Browse the repository at this point in the history
…avidlatwe-rez-python
  • Loading branch information
ajohns committed Mar 30, 2021
2 parents 3c7d269 + f14b0a3 commit 7b75a86
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/rez/cli/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ def command(opts, parser, extra_arg_groups=None):
from rez.utils.execution import Popen
import sys

cmd = [sys.executable, "-E"]

for arg_group in (extra_arg_groups or []):
cmd.extend(arg_group)

if opts.FILE:
cmd.append(opts.FILE)
cmd = [sys.executable, "-E"] + sys.argv[1:]

with Popen(cmd) as p:
sys.exit(p.wait())
Expand Down

0 comments on commit 7b75a86

Please sign in to comment.