Closed ghuls closed 11 months ago
NB: the above commit doesn't fix the problem on its own. I'm looking into it, though.
I think that last change should fix the issue. Thanks for the easy-to-reproduce failure case!
Indeed is seems to be solved. Also my original code I had before this reduced example, seems to work now.
Thanks a lot.
It looks like
close(filehandle)
constructs are not executed and filehandles are not closed:There is also a typo in the error message:
Err(e) => err!("failed to crate command for reading: {}", e),
toErr(e) => err!("failed to create command for reading: {}", e),