[Gambas-user] SHELL WRITE command

Tom mrzanderson at ...626...
Tue May 17 13:43:04 CEST 2005


Hey,

I am trying to read the output of a command using Process_Read(), however it's 
output is a prompt for the user to type something in...

What I did was:

SHELL command WAIT FOR READ WRITE AS myProcess

PUBLIC SUB Process_Read()

        reads the line into a variable

        if the variable is "user prompt:" then
                WRITE getUserInput()
        end if

END

however it doesnt seem to work...

Have I done something wrong?




More information about the User mailing list