return subprocess exit code

This commit is contained in:
Nate Prewitt
2017-01-24 18:19:37 -07:00
parent fd939af96f
commit 1545d65be7
+4
View File
@@ -563,6 +563,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(
@@ -585,6 +587,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.")