How can i see in QProcess the real argument list it is processing?
for debuging , i do print the QStringList before i pass its to myProcess->start(program, arguments);
is there build in debugging option?
views:
28answers:
1
+1
A:
A process created by QProcess will see exactly the argument list you are passing to QProcess::start(). What you see when you print the QStringList passed to QProcess::start() is what the new process will see in its argv[]
argument of main() (except for the program executable path, which is prepended as argv[0]
.
If I misunderstood your question, please feel free to comment.
Fred
2010-09-01 14:32:44