Results 1 to 3 of 3

Thread: Accesing linux shell script from Qt

  1. #1
    Join Date
    Jan 2008
    Posts
    39
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Accesing linux shell script from Qt

    hi i am trying to execute a shell script running over linux, but i cannot find a way, can anybody give a guide? thx!

  2. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    507
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Accesing linux shell script from Qt

    Hi, try QProcess and start the script with
    Qt Code:
    1. sh /path/to/script.sh
    To copy to clipboard, switch view to plain text mode 
    .

    Ginsengelf

  3. #3
    Join Date
    Jan 2008
    Posts
    39
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Accesing linux shell script from Qt

    sorry, i also have to say that the script is in a another machine in the local network, so this must be done remotely.

    Like java Remote Method Invocation but in Qt

Similar Threads

  1. Running shell script with as super user in N900
    By spylvas in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 30th April 2010, 01:05
  2. QProcess: how to run shell script with password?
    By cutie.monkey in forum Qt Programming
    Replies: 0
    Last Post: 23rd March 2010, 05:43
  3. setstandardoutputprocess vs piped shell script
    By oji in forum Qt Programming
    Replies: 3
    Last Post: 16th October 2009, 13:16
  4. Call script shell with Qt
    By zeeb100 in forum Qt Programming
    Replies: 6
    Last Post: 26th February 2009, 09:17
  5. How to use shell script files ?
    By npc in forum Newbie
    Replies: 3
    Last Post: 15th February 2007, 08:26

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.