From 4c611e06ce8b6abfb1420ce4e95fcafce617de29 Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Wed, 9 Jul 2025 23:04:49 +0200 Subject: [PATCH] Update exercises/README.md --- exercises/README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/exercises/README.md b/exercises/README.md index 65df212..62150fd 100644 --- a/exercises/README.md +++ b/exercises/README.md @@ -32,6 +32,21 @@ This is an organized list of all exercises completed so far, including a brief d --- +## 🐚 run_scripts + +**Description**: A simple C program that sequentially executes one or more bash scripts, printing each script’s exit status. + +- πŸ“„ [README](run_scripts/README.md) +- πŸ“‚ Directory: `run_scripts/` +- βœ… Features: + - Uses `fork()` and `execlp()` to run each script in a child process + - Waits for each child to finish before executing the next + - Reports normal exit code or termination by signal + - Includes example test scripts and memory checks with Valgrind + - Makefile with targets: `build`, `run`, `test`, `valgrind`, and `clean` + +--- + ## πŸ”§ Tooling & Automation **Shared tools and scripts used across projects**: @@ -41,4 +56,4 @@ This is an organized list of all exercises completed so far, including a brief d - Shell script for automated tests: `run_tests.sh` - Valgrind memory check reports generated automatically -*Last updated: 2025-06-30* +*Last updated: 2025-07-09*