> I tried the both solutions: SHELL and EXEC, but the parameters used
> are not the same for each command executed.
>
> So, after many tries, I the EXEC command give me errors during
> execution because it's very difficult to play with the character " or
> ' in the command.

You just have to replace:

SHELL "command " & Quote.Shell(arg1) & " " & Quote.Shell(arg2) ...

By:

EXEC [ "/usr/bin/command", arg1, arg2, ... ] ...

I strongly suggest that you do replace SHELL by EXEC. I almost sure that the 
bottleneck is there! But I may be wrong.

-- 
Benoît

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to