pothosware / pothos-library

Framework library used by all Pothos projects
www.pothosware.com
4 stars 0 forks source link

syslog forwarding doesnt forward stdout/stderr FILE * descriptors #84

Closed guruofquality closed 9 years ago

guruofquality commented 10 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

guruofquality commented 9 years ago

forward stdio pipes from the server instead: https://github.com/pothosware/pothos/commit/1b4a3a1356426c5c83ffce1272de4d27eba5edf2