Doesn't the snippet above hide the errors and warnings (since I do not see any code to print them)?
Does not seem very ergonimic to me.
Does not seem very ergonimic to me.
- command actually executed,
- snippet of stdout
- and snippet of stderr.
They can be handled using standard exception techniques.
compose.up()
contains the command's stdout.In addition stdout can be redirected to a file, or to another command, or to a callable, — which will be called for chunks of stdout while the command is in operation.