Use run_command() in traceKeyExtractor

This commit is contained in:
Queen Vinyl Da.i'gyu-Kazotetsu committed 2025-07-07 00:47:33 -07:00
1 parent 7f4165762b
commit 5e0e0b7aa1
2 files changed
+4 -18

No files matched your search

+1
View File
@@ -49,6 +49,7 @@ def strip_color_codes(input_string):
return ansi_escape.sub('', input_string)
def run_command(command):
print(' '.join(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)