I have a console application executable which takes a file as input and prints another file as output.
This executable is used in my GUI application using QProcess::execute("MyApp.exe") command.

It has been working fine long since but for certain cases the executable crashes. I initially thought that my input might be wrong and tried to debug. But I found that the same executable is working fine when I execute it manually or use the system command.
system("MyApp.exe")

But it repeatedly crashes while executing it with QProcess::execute.

Could it be any memory leak problem while using QProcess or any limitations of QProcess.

Kindly help to resolve this issue.

Thanks in advance for your solutions