gecko-dev/testing/mozbase/mozprocess/tests
Andrew Halberstadt cb2eb80652 Bug 1585702 - [mozprocess] Fix "Embedded null character" error in Windows with Python 3, r=gbrown
This works around a bug in Python:
https://bugs.python.org/issue32745

Null characters aren't allowed in 'c_wchar_p' types anymore, but we can get around
the issue by allocating a buffer in memory and casting it after the fact. This was
discovered via trial and error and I'm not really sure why it works.. But it does.

This also enables the tests under Python 3 on Windows (which thankfully all
seem to pass).

Differential Revision: https://phabricator.services.mozilla.com/D48113

--HG--
extra : moz-landing-system : lando
2019-10-04 17:46:38 +00:00
..
scripts
manifest.ini Bug 1585702 - [mozprocess] Fix "Embedded null character" error in Windows with Python 3, r=gbrown 2019-10-04 17:46:38 +00:00
process_normal_broad.ini
process_normal_deep.ini
process_normal_finish.ini
process_normal_finish_no_process_group.ini
process_waittimeout.ini
process_waittimeout_10s.ini
proclaunch.py
proctest.py
test_detached.py
test_kill.py
test_misc.py
test_output.py
test_params.py
test_pid.py
test_poll.py
test_process_reader.py
test_wait.py