pipe the console from the child process