Print paths in run_command
This commit is contained in:
1 parent
8d74dd8ab2
commit
baa03dde0d
1 file changed
+1
-1
+1
-1
@@ -49,7 +49,7 @@ def strip_color_codes(input_string):
|
||||
return ansi_escape.sub('', input_string)
|
||||
|
||||
def run_command(command):
|
||||
print(' '.join(command))
|
||||
print(' '.join([str(c) for c in command]))
|
||||
try:
|
||||
# On Windows, use the shell=True argument to run the command
|
||||
result = subprocess.run(command, shell=os.name == 'nt', stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
|
||||
Reference in new issue
Block a user