mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #77 from nateprewitt/return_exit_code
Return subprocess exit code
This commit is contained in:
@@ -600,6 +600,8 @@ def shell(three=None):
|
||||
|
||||
# Interact with the new shell.
|
||||
c.interact()
|
||||
c.close()
|
||||
sys.exit(c.exitstatus)
|
||||
|
||||
|
||||
@click.command(help="Spawns a command installed into the virtualenv.", context_settings=dict(
|
||||
@@ -622,6 +624,8 @@ def run(command, args, three=None):
|
||||
|
||||
# Interact with the new shell.
|
||||
c.interact()
|
||||
c.close()
|
||||
sys.exit(c.exitstatus)
|
||||
|
||||
|
||||
@click.command(help="Checks PEP 508 markers provided in Pipfile.")
|
||||
|
||||
Reference in New Issue
Block a user