mirror of https://github.com/ashikslab/smartsh.git
optimizations for PowerShell
This commit is contained in:
parent
5bf78b2e9a
commit
e901a56468
|
@ -87,6 +87,9 @@ if is_in_teacher_mode == False and apioutput is not None:
|
||||||
print("Executing command: " + apioutput)
|
print("Executing command: " + apioutput)
|
||||||
if colorize_output:
|
if colorize_output:
|
||||||
print("\033[93m")
|
print("\033[93m")
|
||||||
|
if tune_for_powershell:
|
||||||
|
os.system("powershell.exe -Command " + apioutput)
|
||||||
|
else:
|
||||||
os.system(apioutput)
|
os.system(apioutput)
|
||||||
if colorize_output:
|
if colorize_output:
|
||||||
print("\033[0m")
|
print("\033[0m")
|
||||||
|
|
Loading…
Reference in New Issue