riotkit-org / riotkit-do

RKD - RiotKit DO. Task executor - balance between Makefile and Gradle. Written in Python. Powerful tool for every DevOps. Automates production tasks as well as local development tasks
Apache License 2.0
10 stars 2 forks source link

rkd.process output buffering - possible improvement or replacement of the mechanism? #87

Open blackandred opened 3 years ago

blackandred commented 3 years ago

We had an issue, that subprocess writes directly to fd1, fd2 - but what if we could redirect those?

Possibly pytest has it resolved, its worth investigating how pytest has it done: https://docs.pytest.org/en/6.2.x/capture.html