islandsurvivalcraft/test-server/end_process.ps1
Harrison e45d642791 Added and changed server scripts.
tasks.json updated accordingly.

Also added a convenience normal start script.
2020-04-23 21:14:18 -05:00

9 lines
199 B
PowerShell

if (Test-Path ./pid.temp) {
$sID = Get-Item -Path ./pid.temp | Get-Content -Tail 1
if (Get-Process -Id $sID -ErrorAction SilentlyContinue) {
Stop-Process -Id $sID
}
Remove-Item "./pid.temp"
}