Question
In Python you are familiar with importing the os module and using different exec variations. What are some reasons that you would not use os.execlp?
Answer
1. If you use os.execlp to call another program, that program is more likely to return “Killed”. The resources of the child process are, by default, more limited in part because the fork operation is expensive from a system’s resources perspective.
…
Continue reading “In Python, What Are Some Disadvantages to Using os.execlp to Fork a Process?”