[Gambas-user] Error in Process managment

Benoit Minisini gambas at ...1...
Tue Nov 4 06:06:21 CET 2008


On lundi 3 novembre 2008, David Villalobos Cambronero wrote:
> Hi Benoit,
>
> The code attached in the example used to work (Gambas 3 SVN 1652), but now
> it doesn't, you made some changes in the Process behavoir, do I have to
> change something or I'm doing something wrong?
>
> Best regards
>
>
> --
> David

Now SHELL and EXEC do not raise events explicitely. You must use the "AS" 
keyword.

I did that because now you can run a process, and read its output reliably 
without having to use the Read event. But if you want to catch the standard 
error, using events is mandatory.

Regards,

-- 
Benoit Minisini




More information about the User mailing list