The parameter input to subprocess.Popen.communicate(...) must be an object of type bytes . This is strictly enforced in python3. This patch (1) allows to_bytes to be safely called redundantly. (2) Explicitly convert input within executeCommand. This allows for usages like executeCommand(['clang++', '-'], input='int main() {}\n').
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Accepting. There hasn't been a lot of interest and this seems fine for post-commit review.