After a lot of research I haven\'t found the answer that completely solves my task. I am executing Linux commands (6 of them in a row) and the output (both stdout and stderr