PDE (Processing’s IDE) got its own console, which isn’t the same as the OS console 1.
I tried to redirect print
to the real __stdout__
console but it didn’t work on the win console:
print >> sys.__stdout__, 'Am I displayable?'
But when I tried Git’s bash, everything got displayed there!
And no __stdout__
was needed. Vanilla print
just works:
print 'Am I displayable?'
And Git’s bash also works on exported Java Mode sketches!
Just be aware that Git’s bash, just like any Unix bash, we need to prefix current directory files w/ ./
before its name.
For example, if we wanna run the filename “Hints.exe” on current folder, we type in: ./Hints
Grab Git install from this site: Git-Scm.com