Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Tom_as last edited by
I work in Qt program to control running processes. Unfortunately this kind of process program freezes.
@p_control_stunnel = new QProcess (this); p_control_stunnel->execute("cmd", QStringList() << "tasklist | find \"stunnel.exe\"");@
I also tried this:
@p_control_stunnel = new QProcess (this); p_control_stunnel->start("tasklist /v /fo csv | find \"stunnel.exe\" ");@
Unfortunately, as soon as the program runs the entire freezes. debugger did not help.
broadpeak last edited by
The problem is the pipe!
Instead, you have to run tasklist as one process and pass the resulting data to another process running the find stunnel.exe.