Show More
@@ -354,6 +354,10 b' class chgcmdserver(commandserver.server)' | |||||
354 | # copied from mercurial/commandserver.py |
|
354 | # copied from mercurial/commandserver.py | |
355 | class _requesthandler(SocketServer.StreamRequestHandler): |
|
355 | class _requesthandler(SocketServer.StreamRequestHandler): | |
356 | def handle(self): |
|
356 | def handle(self): | |
|
357 | # use a different process group from the master process, making this | |||
|
358 | # process pass kernel "is_current_pgrp_orphaned" check so signals like | |||
|
359 | # SIGTSTP, SIGTTIN, SIGTTOU are not ignored. | |||
|
360 | os.setpgid(0, 0) | |||
357 | ui = self.server.ui |
|
361 | ui = self.server.ui | |
358 | repo = self.server.repo |
|
362 | repo = self.server.repo | |
359 | sv = chgcmdserver(ui, repo, self.rfile, self.wfile, self.connection) |
|
363 | sv = chgcmdserver(ui, repo, self.rfile, self.wfile, self.connection) |
General Comments 0
You need to be logged in to leave comments.
Login now