mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-23 18:50:24 +00:00
pass on stdin=
This commit is contained in:
parent
37a23d8b5e
commit
5e1e90df89
@ -151,11 +151,10 @@ def _cleanup_tahoe_process(tahoe_transport, exited):
|
||||
pass
|
||||
|
||||
|
||||
def run_tahoe(reactor, request, *args):
|
||||
def run_tahoe(reactor, request, stdin=None, *args):
|
||||
"""
|
||||
Helper to run tahoe with optional coverage
|
||||
"""
|
||||
stdin = kwargs.get('stdin', None)
|
||||
protocol = _CollectOutputProtocol(stdin=stdin)
|
||||
process = _tahoe_runner_optional_coverage(protocol, reactor, request, args)
|
||||
process.exited = protocol.done
|
||||
|
Loading…
x
Reference in New Issue
Block a user