So i\'m trying to use fork to redirect the output to the file specified in the command. First I pipe and then i copy the file descriptor of the file given to me in the plac