Is there a way to ensure all created subprocess are dead at exit time of a Python program? By subprocess I mean those created with subprocess.Popen().
If not, should
poll( ) Check if child process has terminated. Returns returncode attribute.
poll( )
Check if child process has terminated. Returns returncode attribute.