From 0b2a0dca5ec97cbbb6e4ba4d15e42128ddc08fe7 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 12 Sep 2017 15:22:54 -0400 Subject: [PATCH] cleanup Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pipenv/cli.py b/pipenv/cli.py index 519c602f..65494628 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -1345,6 +1345,7 @@ def run(command, args, three=None, python=False, system=False): _which = 'which' if not os.name == 'nt' else 'where' if os.path.isabs(command): system = True + command_path = which(command) if not system else command if system: