/fork-exec-pipe-examples

Sample scripts demonstrating fork(), exec(), and pipe()

Primary LanguageC++

fork(), exec(), and pipe() example programs

These are simple programs that try to demonstrate these system calls. For info on each of them, read their man pages:

  • man 2 fork
  • man 3 exec
  • man 2 pipe

Running the programs

After cloning this repository, cd into the directory of the program you want to run and then type 'make run'. This will both build and execute the program.