Closed guruofquality closed 9 years ago
The ostream hooks work wonders, but printf-style calls using stdio descriptors are not handled by this implementation. A pipe, dup, and forwarding thread should do the trick, however, windows has not been cooperative.
Current work is on this branch: https://github.com/pothosware/pothos/tree/stdio_forwarding
forward stdio pipes from the server instead: https://github.com/pothosware/pothos/commit/1b4a3a1356426c5c83ffce1272de4d27eba5edf2
The ostream hooks work wonders, but printf-style calls using stdio descriptors are not handled by this implementation. A pipe, dup, and forwarding thread should do the trick, however, windows has not been cooperative.
Current work is on this branch: https://github.com/pothosware/pothos/tree/stdio_forwarding