Re: [Gambas-user] shell script output controls gambas

2011-04-05 Thread Jussi Lahtinen
Shell "YourScript.sh" To sStr If InStr(sStr, "UP") Then 'Internet connection is up, do something... Else 'Do something else. Endif Jussi On Tue, Apr 5, 2011 at 13:12, Ganesh Kumar wrote: > Hi Gurus, > > I am new to Gambas. I have executed shell script,, the shell script > output control

Re: [Gambas-user] shell script output controls gambas

2011-04-05 Thread Ron
On 5-4-2011 12:12, Ganesh Kumar wrote: > Hi Gurus, > > I am new to Gambas. I have executed shell script,, the shell script > output control the decision. > > My script > / > #! /biin/bash > host google.com>/dev/null

[Gambas-user] shell script output controls gambas

2011-04-05 Thread Ganesh Kumar
Hi Gurus, I am new to Gambas. I have executed shell script,, the shell script output control the decision. My script / #! /biin/bash host google.com>/dev/null if [ $? -eq 0 ]; then echo "Internet connection is