History#
1.5.0 (2023-01-28)#
Features#
Other changes#
#110: Produce TypeError on Win Py<3.8 for Path args.
1.4.2 (2022-10-02)#
Features#
Bug fixes#
#93: Raise callback exceptions on communicate() calls.
Other changes#
1.4.1 (2022-02-09)#
Other changes#
#74: Add
fp
alias for the fixture, andregister
for theregisiter_subprocess
.
1.4.0 (2022-01-23)#
Features#
#71: Add support for stdin with asyncio.
Bug fixes#
Other changes#
#69: Extracted code into separate files to improve navigation.
1.3.2 (2021-11-07)#
Bug fixes#
#61: Fixed behavior of
asyncio.create_subproess_exec()
.
1.3.1 (2021-11-01)#
Bug fixes#
#58: Correctly handle file stream output.
1.3.0 (2021-10-24)#
Features#
#55: Add support for
terminate()
,kill()
,send_signal()
.
1.2.0 (2021-10-09)#
Features#
Other changes#
#50: Change docs theme.
1.1.2 (2021-07-17)#
Bug fixes#
#47: Prevent allow_unregistered() and keep_last_process() from affecting other tests.
1.1.1 (2021-06-18)#
Bug fixes#
#43: Wait for callback thread to finish when calling
communicate()
.
Other changes#
#42: Fix type annotations for register_subprocess().
1.1.0 (2021-04-18)#
Bug fixes#
#37: Preserve original command in proc.args to prevent leaking the internal Command type.
Other changes#
1.0.1 (2021-03-20)#
Bug fixes#
#34: Prevent appending newlines to outputs unless defined as list/tuple.
Other changes#
#32: Make the
Command
class iterable.
1.0.0 (2020-08-22)#
Features#
0.1.5 (2020-06-19)#
Bug fixes#
#26: encoding and errors arguments will properly trigger text mode.
0.1.4 (2020-04-28)#
Bug fixes#
#22: The returncode will not be ignored when callback is used.
#21: The exception raised from callback will take precedence over those from subprocess.
#20: Registering process will be now consistent regardless of the command type.
#19: Fixed crash for stderr redirect with an empty stream definition.
0.1.3 (2020-03-04)#
Features#
#13: Allow passing keyword arguments into callbacks.
Bug fixes#
#12: Properly raise exceptions from callback functions.
Documentation changes#
#15: Add documentation chapter about the callback functions.
0.1.2 (2020-01-17)#
Features#
#3: Add basic support for process input.
Bug fixes#
#5: Make
wait()
method to raiseTimeoutError
after the desired time will elapse.
Documentation changes#
Other changes#
0.1.1 (2019-11-24)#
Other changes#
0.1.0 (2019-11-23)#
Initial release