[Gambas-user] SHELL command problem

Stefano Palmeri rospolosco at ...152...
Thu Feb 7 08:45:24 CET 2008


Alle 08:18, giovedì 7 febbraio 2008, Mukul Khullar ha scritto:
> Am trying to execute a command "aureport -f -i --summary --failed |
> /root/Desktop/try" which works really fine on the terminal and creates an
> image file on the root directory.
> But, when I try to execute the same using SHELL "aureport -f -i --summary
> --failed | /root/Desktop/try", the file gets generated but
> incorrectly(something like an empty text file). Is there some tweak or some
> way by which I can get this command running, using the SHELL command ?
>
> Please help..
> Thanking you,
> Mukul Khullar.

Try to put a WAIT at the end of the SHELL sentence.

SHELL "aureport -f -i --summary --failed | /root/Desktop/try" WAIT

Stefano


> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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