luizlcezario / Pipex

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:C 98.0%Language:Makefile 2.0%