Add interruptible function to read from pipe

This will avoid to block Ctrl+c if the process the pipe is read from
takes too much time.
This commit is contained in:
Romain Vimont 2021-11-17 18:30:54 +01:00
parent cb65531533
commit ea454e9cee
2 changed files with 36 additions and 0 deletions