Qt-interest Archive, October 2007
QProcess Help
Message 1 in thread
Hi all
Lately, I am designing an applet for shutdown module of LTSP terminals
as given here [http://arindamghosh.wordpress.com/2007/08/29/shutdown-module-in-fl_teachertool/]
I would like to get some help regarding system call say "$netstat" etc
in Qt. Maybe QProcess class can help. If it's so, I do want to know
about the details of the usage of QProcess to run a ayatem command.
Code examples will help me a lot. Waiting for reply!!
--
[ signature omitted ]
Message 2 in thread
Hi all
Lately, I am designing an applet for shutdown module of LTSP terminals
as given here [http://arindamghosh.wordpress.com/2007/08/29/shutdown-module-in-fl_teachertool/]
I would like to get some help regarding system call say "$netstat" etc
in Qt. Maybe QProcess class can help. If it's so, I do want to know
about the details of the usage of QProcess to run a ayatem command.
Code examples will help me a lot. Waiting for reply!!
--
[ signature omitted ]
Message 3 in thread
On 10/10/07, Arindam Ghosh <makghosh@xxxxxxxxx> wrote:
> Hi all
>
> Lately, I am designing an applet for shutdown module of LTSP terminals
> as given here [http://arindamghosh.wordpress.com/2007/08/29/shutdown-module-in-fl_teachertool/]
>
> I would like to get some help regarding system call say "$netstat" etc
> in Qt. Maybe QProcess class can help. If it's so, I do want to know
> about the details of the usage of QProcess to run a ayatem command.
>
> Code examples will help me a lot. Waiting for reply!!
Have you read the QProcess documentation? It's really trivial to run a
program and read its output. The `start' and 'readAllStandardOutput'
methods should be enough to get started.
--
[ signature omitted ]
Message 4 in thread
Yep...I am reading the documentation of QProcess. Practically, I am a
bit new to Qt. I thought out this small app to start with. So I
needed some bumps regarding how to start right away using QProcess. I
willl check out those functions and implement them.
Thanks for the help. Will post about any problems i face:)
--Arindam
On 10/12/07, Andrew Medico <a.medico@xxxxxxxxx> wrote:
> On 10/10/07, Arindam Ghosh <makghosh@xxxxxxxxx> wrote:
> > Hi all
> >
> > Lately, I am designing an applet for shutdown module of LTSP terminals
> > as given here [http://arindamghosh.wordpress.com/2007/08/29/shutdown-module-in-fl_teachertool/]
> >
> > I would like to get some help regarding system call say "$netstat" etc
> > in Qt. Maybe QProcess class can help. If it's so, I do want to know
> > about the details of the usage of QProcess to run a ayatem command.
> >
> > Code examples will help me a lot. Waiting for reply!!
>
> Have you read the QProcess documentation? It's really trivial to run a
> program and read its output. The `start' and 'readAllStandardOutput'
> methods should be enough to get started.
>
> --
> Andrew Medico <a.medico@xxxxxxxxx>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
--
[ signature omitted ]