Is "path" a valid directory?

Also, why change your program's current working directory if you want to change the one of the QProcess?

Cheers,
_