[Gambas-user] Shell / Exec Question

Benoit Minisini gambas at ...1...
Wed Jun 16 19:48:10 CEST 2004


On Wednesday 16 June 2004 18:06, Brant Wells wrote:
> Hi All...
> I have an application where I need the user to enter the Root User's
> password, however, I want it in a konsole window...
> So I do...
>
> PUBLIC SUB ShellTest()
>  EXEC ["konsole","-e","su","root"] WAIT
> END
>
> PUBLIC SUB Process_Read()
>
>   DIM sLine AS String
>   INPUT #LAST, sLine
>   PRINT sLine
> END
>
> The problem is that my Process_Read() is never activated...   Is there a
> way for me to conntrol X applications?
>
> Thanks!
> ~Brant
>

Read the doc :-)

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

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




More information about the User mailing list