General way to end a Qprocess-running executable?
Hi,
I have another question. What is a general way to end a QProcess-a running executable (windows os)? Here is part of the code.
commandProcess.start("C:/ffmpeg.exe",args);
What kind of general statement using commandProcess (if possible), can I use to stop the program?
Re: General way to end a Qprocess-running executable?
see terminate() and kill().
Re: General way to end a Qprocess-running executable?
Yes I looked but it doesn't seem to work in my case. Do you have an example?
Added after 27 minutes:
commandProcess.close(); seems to work okay.