implement the char ' | ' to get a pipe between two processes in C

78 Views Asked by At

I have to implement the pipe char ' | ' in my own mini shell in C (Linux). for exemple.... after compiling file.c and then ./a.out I should be able to digit ls | sort, and the program should be able to work as the main shell. How can I do such a thing? thanks

0

There are 0 best solutions below