Proxy will no longer recieve Hub's SIGINT #665

This commit is contained in:
Will Starms
2016-07-28 13:04:55 -05:00
parent 81350322d7
commit 36f3abbfc7

View File

@@ -1026,7 +1026,7 @@ class JupyterHub(Application):
self.log.info("Starting proxy @ %s", self.proxy.public_server.bind_url)
self.log.debug("Proxy cmd: %s", cmd)
try:
self.proxy_process = Popen(cmd, env=env)
self.proxy_process = Popen(cmd, env=env, preexec_fn=os.setpgrp)
except FileNotFoundError as e:
self.log.error(
"Failed to find proxy %r\n"