How can I teminate the Powershell LocalMultiplayerAgent process gracefully? Hitting ctrl-c only terminates the LocalMultiplayerAgent process but the game process won't be stopped, and I have to manually terminate it in task manager.
How can I teminate the Powershell LocalMultiplayerAgent process gracefully? Hitting ctrl-c only terminates the LocalMultiplayerAgent process but the game process won't be stopped, and I have to manually terminate it in task manager.
I found a workaround for this. I am using Powershell and make a function like this:
function lma { try { Remove-Item -r -fo C:\Assets\WindowsContainerLogOutput\PlayFabVmAgentOutput\*\ExtAssets cd H:\workspace\Unity\PlayFabVmAgent; .\LocalMultiplayerAgent.exe } finally { Stop-Process -Name "XXX" -Confirm } }
10 People are following this question.