开发者

how to print the real QProcess arguments list as the QProcess excute them

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 myPr开发者_如何学运维ocess->start(program, arguments); is there build in debugging option?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜