Logria icon indicating copy to clipboard operation
Logria copied to clipboard

Support piping to Logria

Open ReagentX opened this issue 4 years ago • 0 comments

From the Python repo:

  • Support optional piping as input stream - SO Link
    • Not possible to implement as Logria requires the user to be in control of stdin
    • stdin gets taken over by whatever we pipe to this program, and we cannot move that pipe away from stdin until the pipe finishes
    • We can overwrite the pipe with sys.stdin = open(0) however this will not work until the original pipe ends, which will never happen when tailing a stream

ReagentX avatar Mar 28 '21 01:03 ReagentX