handle more errors from QProcess