recrownedgtk/RecrownedGTK.Tools/start_process.ps1

6 lines
354 B
PowerShell
Raw Normal View History

2020-05-18 21:44:25 +00:00
write-Output "Attempting to start Paper test server."
$SID = Start-Process "C:\Program Files\Mono\bin\mono" -ArgumentList "--debug", "--debugger-agent=transport=dt_socket,server=y,address=127.0.0.1:55555", "bin/Debug/net48/RecrownedGTK.Tools.exe" -PassThru
$SID = $SID.Id
write-Output "Process started. PID is: $SID"
$SID | Out-File -FilePath "pid.temp"