This pr makes the following changes/fixes to the Python 3 Windows #!pipe code:
The R2PIPE_PATH env var already contains the full path to the named pipe, so a prefix shouldn't be added to it.
Need to use the W versions of the Win32 api for Python 3 strings.
Need to encode the r2 command in utf-8 first before sending it down the pipe to r2.
Removed the e scr.color=false invocation for consistency with non-Windows code.
Better error messaging.
Unfortunately, this pr is necessary but not sufficient for correct #!pipe operation on Windows, but can this pr be merged in first and the version bumped?
This is the companion pr to radareorg/radare2#17139.
Detailed description
This pr makes the following changes/fixes to the Python 3 Windows #!pipe code:
e scr.color=false
invocation for consistency with non-Windows code.Unfortunately, this pr is necessary but not sufficient for correct #!pipe operation on Windows, but can this pr be merged in first and the version bumped?This is the companion pr to radareorg/radare2#17139.
Test plan
See radareorg/radare2#17139 for a test script.
Closing issues
...