process output is unbuffered
get lines when exception is created