Print paths in run_command

This commit is contained in:
Queen Vinyl Da.i'gyu-Kazotetsu committed 2025-07-07 01:22:10 -07:00
1 parent 8d74dd8ab2
commit baa03dde0d
1 file changed
+1 -1
+1 -1
View File
@@ -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)