Create a new process,and redirect it's stdin and stdout.