Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-12 15:22:54 -04:00
parent 7c59f86c39
commit 0b2a0dca5e
+1
View File
@@ -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: