ENH: log output of running a command as it comes without waiting