duhhh, my bad George. Thanks for the correction.

On Fri, Oct 23, 2009 at 9:35 AM, George Gallen <ggal...@wyanokegroup.com> wrote:
> the "<" should be correct. That's pulling the input from TEMP.FILE
>
> what happens if you do:
>
> EXECUTE "DOS /c dir" CAPTURING TRASH ?
>
> or you could try (I'm not sure if windows stdin is -)
>
> CMD = '"C:\usr\lib\sendmail -t < ':EMAIL.TEMPFILE:' > -"'
>
> another option might be to see if sendmail has an option to take
> it's input from a file, therefor eliminating the "<" altogether
>
> George
>
>
>> -----Original Message-----
>> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
>> boun...@listserver.u2ug.org] On Behalf Of Norman Bauer
>> Sent: Friday, October 23, 2009 8:02 AM
>> To: U2 Users List
>> Subject: Re: [U2] Capturing output from a Command line program?
>>
>> Change the < to >, currently you are directing the output of your
>> command back to your command.
>>
>> On Fri, Oct 23, 2009 at 1:56 AM, Richard Blackman
>> <richard.black...@itvision.com.au> wrote:
>> >
>> > Hi All,
>> >
>> > I am trying to capture the output from an EXECUTE statement on a
>> command
>> > line program but nothing is being captured, even though I know there
>> is some
>> > output.
>> >
>> > Here is the command
>> >
>> >         CMD = '"C:\usr\lib\sendmail -t < ':EMAIL.TEMPFILE:'"'
>> >         EXECUTE "DOS /c":CMD CAPTURING TRASH
>> >
>> > Cheers,
>> >
>> > Richard Blackman
>> >
>> > --
>> > View this message in context: http://www.nabble.com/Capturing-output-
>> from-a-Command-line-program--tp26021253p26021253.html
>> > Sent from the U2 - Users mailing list archive at Nabble.com.
>> >
>> > _______________________________________________
>> > U2-Users mailing list
>> > U2-Users@listserver.u2ug.org
>> > http://listserver.u2ug.org/mailman/listinfo/u2-users
>> >
>> _______________________________________________
>> U2-Users mailing list
>> U2-Users@listserver.u2ug.org
>> http://listserver.u2ug.org/mailman/listinfo/u2-users
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to