mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update SRS.lua
#MSRS Test to get the pwsh window to minimize
This commit is contained in:
parent
b72124c0d9
commit
60a3d3409e
@ -1490,7 +1490,7 @@ function MSRS:_ExecCommand(command)
|
||||
|
||||
elseif self.UsePowerShell == true then
|
||||
|
||||
local pwsh = string.format('powershell.exe -ExecutionPolicy Unrestricted -WindowStyle Hidden -Command "%s"',filename)
|
||||
local pwsh = string.format('start /min "" powershell.exe -ExecutionPolicy Unrestricted -WindowStyle Hidden -Command "%s"',filename)
|
||||
--env.info("[MSRS] TextToSpeech Command :\n" .. pwsh.."\n")
|
||||
|
||||
if string.len(pwsh) > 255 then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user