
Implement process_stream_open, a small process launcher that exposes one end of a pipe.
process_stream_open("printf", (char *const []){"printf", "ready\\n", NULL}, 'r')fd reading ready\nprocess_stream_open("cat", (char *const []){"cat", NULL}, 'w')fd writing to child stdinprocess_stream_open.cpipeforkdup2execvpcloseexit
Run the tests to grade your code
Implement process_stream_open, a small process launcher that exposes one end of a pipe.
process_stream_open("printf", (char *const []){"printf", "ready\\n", NULL}, 'r')fd reading ready\nprocess_stream_open("cat", (char *const []){"cat", NULL}, 'w')fd writing to child stdinprocess_stream_open.cpipeforkdup2execvpcloseexit
Run the tests to grade your code
Memory will appear here