Results 1 to 2 of 2

Thread: [QUESTION] How to call an Windows based .EXE application and read stdout ?

  1. #1
    Join Date
    Jul 2011
    Location
    BRAZIL-RIO DE JANEIRO
    Posts
    47
    Thanks
    33
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default [QUESTION] How to call an Windows based .EXE application and read stdout ?

    Hi friends,


    I wish execute an WIN32 application made on VisualStudio, and get generated STDOUT ?
    I know that QProcess is able to run another application, however I don´t know how to connect to the console output.

    Could anybody help ?
    Thanks a lot in advance.

    +++

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: [QUESTION] How to call an Windows based .EXE application and read stdout ?

    did your tried QProcess::readAllStandardOutpu()? Or the readyReadStandardOutput() siganl?

  3. The following user says thank you to nish for this useful post:

    andre_teprom (26th July 2013)

Similar Threads

  1. Replies: 3
    Last Post: 21st February 2011, 00:20
  2. QProcess can read stderr but no stdout
    By mastupristi in forum Qt Programming
    Replies: 3
    Last Post: 21st October 2010, 09:47
  3. Read most recent output from QProcess's stdout
    By Lawand in forum Qt Programming
    Replies: 1
    Last Post: 8th September 2010, 22:29
  4. Replies: 0
    Last Post: 2nd August 2010, 09:17
  5. read stdout with QProcess under Windows
    By jlbrd in forum Qt Programming
    Replies: 4
    Last Post: 1st September 2006, 17:29

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.