tags:

views:

28

answers:

1

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?

+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