optimizations for PowerShell

This commit is contained in:
Ashik K 2023-04-10 23:16:22 +02:00
parent 5bf78b2e9a
commit e901a56468
1 changed files with 4 additions and 1 deletions

View File

@ -87,7 +87,10 @@ if is_in_teacher_mode == False and apioutput is not None:
print("Executing command: " + apioutput)
if colorize_output:
print("\033[93m")
os.system(apioutput)
if tune_for_powershell:
os.system("powershell.exe -Command " + apioutput)
else:
os.system(apioutput)
if colorize_output:
print("\033[0m")
else: