Detaching a started process

后端 未结 2 533
暗喜
暗喜 2021-01-13 02:17

I\'ve started a process using QProcess::start() and I need to detach it afterwards. How can I do it? I haven\'t found relevant info in the Qt docs.

I\'m

2条回答
  •  自闭症患者
    2021-01-13 02:37

    You can't as of 5.1, see here. There's also a suggestion in the comments, not sure if useful for your case):

    Workaround proposal: write a helper process that starts detached processes, and terminates itself when all setting up is completed.

提交回复
热议问题