Sublime Forum

Realtime showing of stdout and stderror

#1

I am evaluating Sublime and I was curious if there was a way to print out the stdout as it is happening. So this simple test:

for i in 0…10 do
puts “Hello #{i}\n”
sleep(1)
end

Textmate for instance displays the out as it is happening. Is there a way to do this? Is this feature in the queue if not?

Thanks

0 Likes

#2

Looked at Groovy and this snippet works oddly:

(1…10).each {
println “Hello $it”
sleep 1000
}

So with Ruby, it is waiting till the code has completed execution, with Groovy, it appears to be showing the messages as they happen.

Odd, I would think the opposite…

0 Likes