Skip to content

This is a progrma in C that's mimic the pipe comand in shell . this is a project by 42sp

License

Notifications You must be signed in to change notification settings

luizlcezario/Pipex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luiz Cezario GitHub last commit Stargazers

Pipex of 42. Make with ❤︎ for Luiz Cezario

Pipex

This is a project to learn about exec and fork in c how they works and other things, in that we recreate the pipe funtion of shell in c.

Idea

The idea to make the piex work is that you will need to take the command e separete then from the args and after that start a fork for each command one a time and take the result of the exec and pass throght the pipe fds.

Test

```bash
$> make
$> ./pipex infile "cmd1 args1" "cmd2 aegs2" ... "cmdN argsN" outfile

```

Cristina: "Go dance salsa somewhere :)"

Give ⭐️ if you like this project, this will help me!

About

This is a progrma in C that's mimic the pipe comand in shell . this is a project by 42sp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages