Results 1 to 7 of 7

Thread: Execute system command from QProcess

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Execute system command from QProcess

    setEnvironment() is deprecated, setProcessEnvironment is not.

    Try to execute something simple that evaluates the TERM variable, e.g.

    echo $TERM

    Does this give the correct result?

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    graciano (20th February 2014)

Similar Threads

  1. How to execute Powershell command from QT?
    By Gokulnathvc in forum Newbie
    Replies: 3
    Last Post: 21st January 2014, 23:30
  2. Execute window command line-by-line using QProcess
    By nhocjerry in forum Qt Programming
    Replies: 5
    Last Post: 30th July 2013, 12:21
  3. Replies: 3
    Last Post: 23rd February 2011, 08:50
  4. Replies: 4
    Last Post: 14th July 2009, 03:27
  5. System Command QProcess
    By jd in forum Qt Programming
    Replies: 7
    Last Post: 10th February 2009, 17:36

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
  •  
Qt is a trademark of The Qt Company.