help!

bridged with qdn.public.qnxrtp.photon
Post Reply
yiner

help!

Post by yiner » Thu Oct 16, 2003 5:31 am

Hi,
I am a newbie of photon.When I write an appliaction,I often don't know how
to begin.I am eager for some advice.

And now I have a difficult problem.When I press a button ,I want I can
perform a command such as "ls" in another computer which is in qnx .In
addition I must display the result in a terminal in my app.

Who can help me ??

Thanks,
yiner

Bill Caroselli

Re: help!

Post by Bill Caroselli » Thu Oct 16, 2003 1:48 pm

Some things to look for:
PtButton widget
PtTty widget
the C function popen()

You supply the glue.

Do you need ls to run on the other node? Or do you just need to do
an ls _of_ th other node. In which case you can use:
ls /net/other_node/my_dir

--
Bill Caroselli -- Q-TPS Consulting
1-(708) 308-4956 <== Note: New Number
qtps@earthlink.net

yiner

Re: help!

Post by yiner » Fri Oct 17, 2003 1:17 am

I want it run on the other node!

"Bill Caroselli" <qtps@earthlink.net> дÈëÏûÏ¢ÐÂÎÅ
:bmm7js$9ci$1@inn.qnx.com...
Some things to look for:
PtButton widget
PtTty widget
the C function popen()

You supply the glue.

Do you need ls to run on the other node? Or do you just need to do
an ls _of_ th other node. In which case you can use:
ls /net/other_node/my_dir

--
Bill Caroselli -- Q-TPS Consulting
1-(708) 308-4956 <== Note: New Number
qtps@earthlink.net

Post Reply

Return to “qdn.public.qnxrtp.photon”