poco
poco copied to clipboard
Allow using `Poco::FileStream` to wrap arbitrary file handles/descriptors as C++ streams
In our application we open files in Python code, pass the file handle/descriptor to C++ code, and then use FileStream to access the file from C++. It's also possible for Python to pass a duplicate of the stdin handle to C++, so we need to handle the ERROR_BROKEN_PIPE special case.
@dgrunwald please redirect this to devel branch
I rebased this PR on latest devel and created new PR (#4424).
Closing in favor of #4424.