Fixed the pipe error(not error).
I am confused that in the *REAL* Linux(not Cygwin),after calling function execve(),this program goes well.
So it should blame to the Cygwin(Maybe Cygwin).I will check it out.