BUG: If no GUI, use QProcess::execute() instead of QProcess::start() to keep the main process alive