Blocking code compiled with phais module from using stdout and stdin implemented.