Pass file descriptor of outer stdin to child processes.
Use logging.error() to log errors...