Spawn processes in a shell capturing output in realtime. It also allows to set temeouts.