mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 14:03:02 +00:00
Switch to start_new_sesstion
This commit is contained in:
@@ -1026,7 +1026,7 @@ class JupyterHub(Application):
|
|||||||
self.log.info("Starting proxy @ %s", self.proxy.public_server.bind_url)
|
self.log.info("Starting proxy @ %s", self.proxy.public_server.bind_url)
|
||||||
self.log.debug("Proxy cmd: %s", cmd)
|
self.log.debug("Proxy cmd: %s", cmd)
|
||||||
try:
|
try:
|
||||||
self.proxy_process = Popen(cmd, env=env, preexec_fn=os.setpgrp)
|
self.proxy_process = Popen(cmd, env=env, start_new_session=True)
|
||||||
except FileNotFoundError as e:
|
except FileNotFoundError as e:
|
||||||
self.log.error(
|
self.log.error(
|
||||||
"Failed to find proxy %r\n"
|
"Failed to find proxy %r\n"
|
||||||
|
Reference in New Issue
Block a user