Quote Originally Posted by jacek
I agree with you. AFAIR is worked this way in Qt3, but apparently in Qt4 QProcess changes the current directory just before it executes the program.
It does not neither in QT4, see my explanation above.

Quote Originally Posted by wysota
The process here isn't started at all, so it looks like setWorkingDirectory influences the way QProcess starts the process. The problem is with the script itself, so it seems.
You mean my example given above? But where's the problem