The plumbum module allows the invocation of binaries while providing a cleaner interface for streaming stdout to the terminal as well as capturing stderr on execution failures.
Plumbum has an execution modifier called TEE that acts similarly to tee in unix in that it prints stdout as well as to a file (or an object in this case). This can be used to capture stderr and log it
The plumbum module allows the invocation of binaries while providing a cleaner interface for streaming stdout to the terminal as well as capturing stderr on execution failures.
Plumbum has an execution modifier called TEE that acts similarly to tee in unix in that it prints stdout as well as to a file (or an object in this case). This can be used to capture stderr and log it