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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to