pipex
is a simplified recreation of shell piping behavior (|
) using system calls like pipe
, fork
, dup2
, and execve
.
It is part of the 42 school curriculum and serves as an introduction to inter-process communication in Unix.
The objective of pipex
is to:
- Reproduce the shell command:
< infile cmd1 | cmd2 > outfile