redirect stdin/out to console log
version 0.0.2