Uploaded February 2015 | Updated November 2026, 3 hours ago
Demo using fork and exec to run an executable from disk in a new process. Show how to pass arguments, wait for child to complete, and how to spawn multiple children. Shows advantage of using multiple processes over a single process in terms of using CPU power of multiple processors (cores).
Other Videos:
- Fork: youtu.be/9seb8hddeK4
- Exec: youtu.be/mj2VjcOXXs4
- Eclipse Linux setup: youtu.be/E36QpJdEghg
- Linux Programming playlist: youtube.com/watch?v=E36QpJdEghg&list=PL-suslzEBiMrqFeagWE9MMWR9ZiYgWq89
Demo using fork and exec to run an executable from disk in a new process. Show how to pass arguments, wait for child to complete, and how to spawn multiple children. Shows advantage of using multiple processes over a single process in terms of using CPU power of multiple processors (cores).
Other Videos:
- Fork: youtu.be/9seb8hddeK4
- Exec: youtu.be/mj2VjcOXXs4
- Eclipse Linux setup: youtu.be/E36QpJdEghg
- Linux Programming playlist: youtube.com/watch?v=E36QpJdEghg&list=PL-suslzEBiMrqFeagWE9MMWR9ZiYgWq89










