is there a way to start/stop linux processes with python?

后端 未结 6 912
你的背包
你的背包 2021-01-05 02:31

I want to be able to start a process and then be able to kill it afterwards

6条回答
  •  自闭症患者
    2021-01-05 02:52

    Have a look at the subprocess module. You can also use low-level primitives like fork() via the os module.

提交回复
热议问题