Port Perforce backend to use run_process() instead of execute()
Review Request #14484 — Created June 27, 2025 and submitted — Latest diff uploaded
This change updates the Perforce client to use
run_process()
instead
ofexecute()
. In order to simplify the implementation here, I've added
newinput_string
andtimeout
parameters torun_process
and
friends, which allows passing in data to send to the command's standard
input stream.
Ran unit tests.
rbtools/clients/perforce.py |
---|
rbtools/clients/tests/test_p4.py |
---|
rbtools/utils/process.py |
---|