jupyterhub / sudospawner

Spawn JupyterHub single-user servers with sudo
BSD 3-Clause "New" or "Revised" License
50 stars 41 forks source link

avoid invoking sudo when polling #36

Closed minrk closed 7 years ago

minrk commented 7 years ago

catch PermissionError as process exists

closes https://github.com/jupyterhub/jupyterhub/issues/1128

nfx commented 7 years ago

@parente, can we do a release with this PR?..

the other potential issue i found is that when random_port generated already occupied, the process would get into error loop

minrk commented 7 years ago

@nfx just pushed 0.4.1 with this fix