Python: fork, pipe and exec

前端 未结 3 1905
天命终不由人
天命终不由人 2021-01-03 02:47

I want to execute a program in a python application, it will run in the background but eventually come to the foreground.

A GUI is used to interact with it. But con

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-03 03:04

    This is reasonably easy using the standard Python subprocess module:

    http://docs.python.org/py3k/library/subprocess.html

提交回复
热议问题