1
0
mirror of https://github.com/ciromattia/kcc synced 2026-06-05 06:03:25 +00:00

refactor archive code

This commit is contained in:
Alex Xu
2024-08-04 16:13:22 -07:00
parent df9990c692
commit 9e09898986
4 changed files with 61 additions and 47 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ def dependencyCheck(level):
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
sys.exit(1)
def subprocess_run_silent(command, **kwargs):
def subprocess_run(command, **kwargs):
if (os.name == 'nt'):
kwargs.setdefault('creationflags', subprocess.CREATE_NO_WINDOW)
return subprocess.run(command, **kwargs)