Hi ,

I want shell script output, printed to the label text, Please help me..

my code,,

*******************************************************************

PUBLIC SUB Form_Open()
  DIM sStr AS String
  SHELL "sh /home/dhana/foo.sh" TO sStr
  IF InStr(sStr, " ") THEN
  Label1.text =" " & sStr
  ELSE
  Label1.text = "Error"
  ENDIF
END

*******************************************************************


I got error...please guide me..

Advance thanks

-Ganesh.

-- 
Did I learn something today? If not, I wasted it.

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to