PDA

View Full Version : [SOLVED] After process starting in QProcess application does not work (linux)



AlekseyK
18th December 2010, 18:02
After process starting in QProcess applicatiojn does not work. ps -xaw tells that program is in sleeping mode (S - Interruptible sleep (waiting for an event to complete)). How could it be? Could same problem repeat in Mac, Windows? How to fix that?

AlekseyK
18th December 2010, 20:04
The situation happens when I call start(), if execute() is used - all is working. Why such difference here?

AlekseyK
18th December 2010, 22:13
Works with void start ( const QString & program, OpenMode mode = ReadWrite ) , there is a bug in start ( const QString & program, const QStringList & arguments, OpenMode mode = ReadWrite ) - need to pass all the argument in one line in "program" parameter.