[Gambas-user] Shell / Exec Question

Benoit Minisini gambas at ...1...
Wed Jun 16 21:21:16 CEST 2004


On Wednesday 16 June 2004 20:08, Brant Wells wrote:
> He he he...  If only it were that easy...  I'd already read the doc,
> unfortunately.
>
> I am using Gambas 0.93b...on Mandrake 10 Community and when I run
> EXEC ["konsole","-e","su","root"] FOR READ WRITE WAIT
>
> I get an "End of Line Expected"
>
> When I run
>
> EXEC ["konsole","-e","su","root"] WAIT FOR READ WRITE
>
> The application runs, and waits until I exit the konsole. However, my
> Process_Read never triggers...Even if I just do For Read.
>

Try:

DIM hProcess AS Process

EXEC ["konsole","-e","su","root"] WAIT FOR READ WRITE AS hProcess

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list