This is an archive of the discontinued Mercurial Phabricator instance.

procutil: allow callers of runbgcommand to assume the process starts
ClosedPublic

Authored by durin42 on Jun 18 2019, 9:44 AM.

Details

Summary

Experimentally starting the subprocess can take as much as 40ms, and
for some of our use cases that's frivolous: we know the binary will
start, and if it doesn't we'd only ever ignore it and continue
anyway. This lets those use cases be faster.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.