Page MenuHomePhabricator

procutil: allow to specify arbitrary stdin bytes to runbgcommand
Needs ReviewPublic

Authored by marmoute on Wed, Oct 14, 7:34 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

For automatic clonebundles generation I need to pass arbitrary large amount of
data to the process (eg: common nodes, target nodes).

I am updating the runbgcommand to allow for this. Previously not stdin input
was possible, now, one can provide raw bytes and they will be feed to the
command through an unnamed temporary files.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage