Port Perforce backend to use run_process() instead of execute()

Review Request #14484 — Created June 27, 2025 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

This change updates the Perforce client to use run_process() instead
of execute(). In order to simplify the implementation here, I've added
new input_string and timeout parameters to run_process and
friends, which allows passing in data to send to the command's standard
input stream.

Ran unit tests.

Diff Revision 3 (Latest)

orig
1
2
3

Commits

First Last Summary ID Author
Port Perforce backend to use run_process() instead of execute()
This change updates the Perforce client to use `run_process()` instead of `execute()`. In order to simplify the implementation here, I've added new `input_string` and `timeout` parameters to `run_process` and friends, which allows passing in data to send to the command's standard input stream. Testing Done: Ran unit tests.
70fb055a6ae05c010b337fa44b5b0857be168aa8 David Trowbridge
rbtools/clients/perforce.py
rbtools/clients/tests/test_p4.py
rbtools/utils/process.py
Loading...