os.spawnlp和subprocess.Popen有什么区别?

时间:2015-09-29 13:32:46

标签: python process

os.spawnlpsubprocess.Popen

从任何角度来看,这两个电话之间有什么区别?

1 个答案:

答案 0 :(得分:3)

spawnlp maps diretly to underlying POSIX C library function

subprocess试图提供理智的Pythonic方式来处理子进程。