executing system command, (Q/K Process ?)
F@lk Brettschneider
falk.brettschneider at gmx.de
Sat Apr 27 21:59:53 BST 2002
Dung Patrick wrote:
>Hello,
>
>Here is my question:
>
>QString cmd = "ls -la /bin"
>
>How to execute the command and get the output to, say a QTextArea? But I am without QProcess or KProcess (ie I use Qt 2.3.1)
>
Qt-2 users can use the QProcess, too. Just copy it from the Qt-designer
source code to your project. The output can be get easily, just take a
look at the class-API-documentation of QProcess.
Ciao
F at lk
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list