poco icon indicating copy to clipboard operation
poco copied to clipboard

Allow using `Poco::FileStream` to wrap arbitrary file handles/descriptors as C++ streams

Open dgrunwald opened this issue 4 years ago • 2 comments

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 avatar Oct 25 '21 11:10 dgrunwald

@dgrunwald please redirect this to devel branch

aleks-f avatar May 29 '22 02:05 aleks-f

I rebased this PR on latest devel and created new PR (#4424).

matejk avatar Jan 29 '24 21:01 matejk

Closing in favor of #4424.

dgrunwald avatar Apr 05 '24 13:04 dgrunwald