[Qt-interest] QProcess & multiprocess

Sean Harmer sean.harmer at maps-technology.com
Sat Aug 6 14:12:00 CEST 2011


On 06/08/2011 01:09, Folami Nguyen wrote:
>
> Dear Qt expert,
> I use QProcess to lauch an application on Windows platform.
> I also want to terminate this application when I need.
> This task is very easy for 1 process application.
> However, this task becomes very tough for multiprocess application.
> I don't know how to fulfill my task.
> I think to write a hook for ShellExcute & CreateProcess API call.
> However this solution is very complicated.
> Are there any easier solution?

Just use multiple instances of QProcess. If you can do what you need for 
one process then you can do it for several.

Sean



More information about the Qt-interest-old mailing list