mirror of https://github.com/ashikslab/smartsh.git
Merge branch 'dev' - slightly better (?) PowerShell support
This commit is contained in:
commit
f0bc3f5c95
|
@ -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