I have long running process, which outputs many things which I do not usually need (or want to transform). I want to run this process capturing, filtering output lines from the process till it finished.
In essence, something like the following, but outputting next line as soon as it is available, without waiting for the process to finish:
for line in readlines(`ping localhost -c 5`)
println(line)
end