// Package parent watches the process that started the proxy, so the proxy exits with it. package parent // Wait returns once the process pid has exited (at once if it already has, or can't be watched). func Wait(pid int) error { return wait(pid) }