Overview

Developed a custom Unix shell focusing on command execution, builtins implementation, redirections, and signal handling. Implemented process spawning, pipe management, and correct parent/child execution behavior for builtins. Managed Ctrl+C, Ctrl+\ and heredoc signals to match real shell behavior while ensuring proper file descriptor cleanup and exit codes.

Key Features

  • Command execution with pipelines
  • Builtins in parent process
  • Proper signal handling (Ctrl+C, Ctrl+\)
  • Redirections & file descriptor control
  • Exit code management
CategoryLow Level (C/C++)
RoleTeam project — Execution & Builtins Lead
Tech StackC, Unix System Calls, Fork, Execve, Pipes, Signals
Source CodeView on GitHub

My Contribution

Responsible for execution engine, builtins behavior, and signal handling logic.

Demo