fork() and exec()

🏷️ Computer science

fork(): create a separate, duplicate process

exec(): replace the entire process

https://www.youtube.com/watch?v=IFEFVXvjiHY&list=PLBlnK6fEyqRiVhbXDGLXDk_OQAeuVcp2O&index=33