setenv("_EDC_FLUSH_STDOUT_SOCKET","YES",1);
The purpose of this environment variable is to better facilitate communication between two processes that use sockets. The child process is using stdin for the read end of one socket and stdout for the write end of a different socket. The parent process has the opposite ends of the sockets.