[Gambas-user] Re : Re: SHELL command problem
Mukul Khullar
auditmk at ...626...
Fri Feb 8 07:44:13 CET 2008
> 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
I have already tried the same command adding WAIT but in vain. Actually,
the first part of the command sends some data to the 2nd part of the command
through the " | " operator, which is not happening via the SHELL command,
but happens fine when executed on the terminal. Any suggestions ??
Thanks,
Mukul Khullar.
More information about the User
mailing list