On Windows an extra line "exec: Process pid=... exited with status code 0" is reported after terminating the subprocess. This isn't relevant for the `text_exec_invalid_utf` test, so the extra line is just ignored. No functional changes.
On Windows an extra line "exec: Process pid=... exited with status code 0" is reported after terminating the subprocess. This isn't relevant for the `text_exec_invalid_utf` test, so the extra line is just ignored. No functional changes.