If I specify the output file as /dev/stdout, dvbjet seems to not flush the output · Issue #1 · lightful/DVBdirect · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to read the output of dvbjet into a NodeJS script. I'm using Node's child_process to launch dvbjet, and I'm specifying /dev/stdout as the output file on the dvbjet command line.
My NodeJS script never receives any data from dvbjet's stdout. I suspect the data is being buffered. If I use node-pty instead of child_process then I receive output, but as node-pty converts all output to a string the data is corrupted.
I'm wondering if it's possible to make dvbjet correctly flush stdout if /dev/stdout is specified as the output filename. I've tried a few things myself, but I don't know c++ so I'm not having much luck.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to read the output of dvbjet into a NodeJS script. I'm using Node's
child_process
to launch dvbjet, and I'm specifying /dev/stdout as the output file on the dvbjet command line.My NodeJS script never receives any data from dvbjet's stdout. I suspect the data is being buffered. If I use
node-pty
instead ofchild_process
then I receive output, but asnode-pty
converts all output to a string the data is corrupted.I'm wondering if it's possible to make dvbjet correctly flush stdout if /dev/stdout is specified as the output filename. I've tried a few things myself, but I don't know c++ so I'm not having much luck.
The text was updated successfully, but these errors were encountered: