logtoprocess: clean-up old comment

The comment was likely to be for runshellcommand code.

Differential Revision: https://phab.mercurial-scm.org/D1425
This commit is contained in:
Boris Feld 2017-11-03 21:01:20 +01:00
parent 13e75f668f
commit 0d556fd8d6

View File

@ -124,8 +124,6 @@ def uisetup(ui):
env = dict(itertools.chain(encoding.environ.items(),
msgpairs, optpairs),
EVENT=event, HGPID=str(os.getpid()))
# Connect stdin to /dev/null to prevent child processes messing
# with mercurial's stdin.
runshellcommand(script, env)
return super(logtoprocessui, self).log(event, *msg, **opts)