作为Windows服务运行的Python:OSError:[WinError 6]句柄无效
我有一个Python脚本,它作为Windows服务运行.该脚本分叉另一个进程:with subprocess.Popen( args=[self.exec_path], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) as proc:这会导致以下错误:OSError: [WinError 6] The handle is invalid File "C:\Program Files (x86)\Python35-32...
转载
2020-07-10 12:06:31 ·
5636 阅读 ·
0 评论