Skip to content

This project is about using child processes to recreate the behaviour of UNIX pipes and redirections.

Notifications You must be signed in to change notification settings

kixikCodes/pipex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipex (42 project)

This is a very basic exercise to get used to pipes and processes in C.

Pipex simply mimics the behavior of this exact bash line:

< infile cmd1 | cmd2 > outfile

Where the arguments are the input file, first command, second command and output file in that order. The program handles errors the same way bash does. That's all there is to it! If you're interested in this being used practically, check out my much bigger project Minishell.

About

This project is about using child processes to recreate the behaviour of UNIX pipes and redirections.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published