Fix errors Perforce post error when running under Python 3

Review Request #11061 — Created June 27, 2020 and submitted — Latest diff uploaded

Information

RBTools
release-1.0.x

Reviewers

Python 3 string must be encoded to bytes before being fed to p4.

Manually verified on Windows, Linux, and macOS that this resolves the error we were hitting when using Python 3.
Manually verified that this also still works fine for the same scenario when using Python 2.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Added encoding for the input for the perforce command
5e3549a2cdc678c1568f504b0132770c0660c3e9 Chris Otey
Refine the previous fix.
37f47cb835072ec6f23393251a765388f655cf6e Keith Kelly
Fix bad argument order.
d74578c286a089bb47a13d94c2aa820408ecf7b9 Keith Kelly
rbtools/clients/perforce.py
Loading...