42 Bangkok · Project notes

pipex

A small systems project that recreates the behavior of a shell pipeline.

What I Did

Connected commands and files through processes and pipes to model shell redirection and execution.

What I Learned

  • Following process lifecycles
  • Managing file descriptors
  • Reasoning about errors and cleanup

Key concepts

CProcessesPipesexecveFile descriptors