mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge pull request #2184 from FlightControl-Master/Applevangelist-pwsh-1
Update SRS.lua
This commit is contained in:
commit
f9747d1c4c
@ -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