search for: nbdkit_is_interactive

Displaying 1 result from an estimated 1 matches for "nbdkit_is_interactive".

2020 Apr 04
0
IRC question about consuming stdin
...null, but with -f, or with --run, they are still whatever was passed to nbdkit, which feels inconsistent 12:46 < eblake> and with -s, if the plugin accidentally uses stdin/out, it will corrupt the NBD protocol 12:49 < eblake> I'm wondering if we should add 'bool nbdkit_is_interactive()' [or better name] which returns false for -s, true otherwise, so .config can decide when it is safe to consume stdin (I haven't looked at this, but as my IRC access is for some reason up and down today, it's probably best to continue this discussion on email) Rich....