StackOverflow-IO/OutputHow do I wait for a subprocess to finish, store it's output and add a prefix (without a new line) to the output?