[Gambas-user] Error in Process managment

David Villalobos Cambronero david_villalobos_c at ...43...
Tue Nov 4 16:09:28 CET 2008


mmmm I see, can you send me a cuople of lines as example? Just to be clear...

 Saludos


--
David



----- Original Message ----
From: Benoit Minisini <gambas at ...1...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Monday, November 3, 2008 11:06:21 PM
Subject: Re: [Gambas-user] Error in Process managment

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 at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



      




More information about the User mailing list