Merge pull request #77 from nateprewitt/return_exit_code

Return subprocess exit code
This commit is contained in:
2017-01-24 20:57:41 -05:00
committed by GitHub
+4
View File
@@ -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.")