Skip to content

Commit

Permalink
Merge pull request #2184 from FlightControl-Master/Applevangelist-pwsh-1
Browse files Browse the repository at this point in the history
Update SRS.lua
  • Loading branch information
Applevangelist authored Nov 4, 2024
2 parents b72124c + 60a3d34 commit f9747d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Moose Development/Moose/Sound/SRS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9747d1

Please sign in to comment.