Help for this page

Select Code to Download


  1. or download this
    if ($pid = fork) { # parent
       ...
    ...
       ...
       exit;
    }
    
  2. or download this
    pipe(PIPE_READ,PIPE_WRITE);
    autoflush PIPE_WRITE 1;
    ...
            print "received from pipe $msg_read";
        }
    }