The Popen Class
How python's Popen works to create a child process?
The Popen class executes a child program in a new process. Unlike the call method, it does not wait for the called process to end unless you tell it to using by using the wait method. Let’s try running du through Popen and see if we can detect a difference:
Get hands-on with 1400+ tech skills courses.