O'Reilly logo
  • You Wang thinks this is interesting:

By contrast, Python’s thread support works on all major platforms. Moreover, the os.spawn family of calls provides additional ways to launch programs in a platform-neutral way that is similar to forks, and the os.popen and os.system calls and subprocess module we studied in Chapters 2 and 3 can be used to portably spawn programs with shell commands. The newer multiprocessing module offers additional ways to run processes portably...


Cover of Programming Python, 4th Edition


  • os.spawn
  • os.popen
  • os.system
  • subprocess
  • multiprocessing