dimanche 28 juin 2015

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

This question already has an answer here:

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

Aucun commentaire:

Enregistrer un commentaire