Stdin overrides --stream value #193

Closed
opened 2026-01-29 16:37:33 +00:00 by claunia · 1 comment
Owner

Originally created by @mackworth on GitHub (Oct 10, 2016).

Using - to specify stdin as input file sets the stream timeout to -1, overrding the value set with the --stream option. The STDIN parameter processing should only change this value to -1 if it's still at the default 0). A workaround is to put --stream 1 after the -, which works fine, despite the command-line syntax of ccextractor [options] input file...

Originally created by @mackworth on GitHub (Oct 10, 2016). Using `-` to specify stdin as input file sets the stream timeout to -1, overrding the value set with the `--stream` option. The STDIN parameter processing should only change this value to -1 if it's still at the default 0). A workaround is to put `--stream 1` after the `-`, which works fine, despite the command-line syntax of `ccextractor [options] input file...`
Author
Owner

@mackworth commented on GitHub (Oct 11, 2016):

Fixed in #435

@mackworth commented on GitHub (Oct 11, 2016): Fixed in #435
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#193