def __doChildStart(self):
"guts of start child process"
self.statusPipe.postForkChild()
_setPgid(os.getpid(), self.dag.pgid if (self.dag.pgid is not None) else os.getpid())
cmd = self.__buildCmd()
self.__stdioSetup(self.stdin, 0)
self.__stdioSetup(self.stdout, 1)
self.__stdioSetup(self.stderr, 2)
self.__closeFiles()
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
os.execvp(cmd[0], cmd)
pipeline.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录