파이프[1]이 쓰기고
파이프[0]이 읽기잖어

표준출력을 복사해서

부모에서 읽어오려면 대체 어떻게 해야함

dup2(mypipe[1],1);

해서

부모에서 read mypipe[0] 하면 되는거 아님??