mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 00:50:46 +08:00
fix(scripts): harden stop_netx and tweak start_netx
- Add timeout around Get-NetTCPConnection to avoid hangs; filter invalid PIDs; exit 0 on completion. - Minor start_netx adjustments. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
27c1826fc5
commit
d48cd000d3
2 changed files with 46 additions and 14 deletions
|
|
@ -91,6 +91,8 @@ if ($Background) {
|
|||
Write-Host "Log = $webLogFile"
|
||||
Write-Host "Err = $webErrFile"
|
||||
}
|
||||
Write-Host ""
|
||||
Write-Host "==> Background services started; this script exits (API/web keep running)." -ForegroundColor Cyan
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue