Results 1 to 3 of 3

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

  1. #1
    Join Date
    Nov 2010
    Posts
    47
    Thanks
    7
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default [SOLVED] After process starting in QProcess application does not work (linux)

    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?
    Last edited by AlekseyK; 18th December 2010 at 23:13. Reason: updated contents

  2. #2
    Join Date
    Nov 2010
    Posts
    47
    Thanks
    7
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: After process starting in QProcess applicatiojn does not work (linux)

    The situation happens when I call start(), if execute() is used - all is working. Why such difference here?

  3. #3
    Join Date
    Nov 2010
    Posts
    47
    Thanks
    7
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: After process starting in QProcess applicatiojn does not work (linux)

    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.

Similar Threads

  1. Replies: 0
    Last Post: 26th August 2010, 11:44
  2. QProcess, how to give focus to the new process on Mac
    By simlab in forum Qt Programming
    Replies: 3
    Last Post: 25th January 2010, 00:27
  3. QProcess starting minimized
    By kobus in forum Qt Programming
    Replies: 1
    Last Post: 12th August 2009, 00:01
  4. problems starting process
    By parsito in forum Qt Programming
    Replies: 8
    Last Post: 11th May 2007, 22:32
  5. QProcess starting minimized
    By moe in forum Qt Programming
    Replies: 4
    Last Post: 3rd March 2007, 09:32

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.