I’m trying to run a bash script using QProcess from my software.
If I run from the command line (RHEL 7.9) the bash script runs as expected but when I try to run in them Eclipse debugger it only runs part of the script. The script should perform a ‘kill -9’ on selected processes but it only kills some of the processes.
Is there a issue with Eclipse that would cause this?
QString command ("/scripts/killProcesses.sh"/);
QProcess process;
process.setProgram (command);
process.start();
process.waitForFinished (-1);