On Tue, 7 Sep 2004, West, William M wrote:
There's all kinds of edge cases that would have to be dealt with here. I
really think that putting the XML directly into a command line is doomed
to failure; putting it in a temp file should be much more robust.
i agree.. but the above might work for this
willy
http://www.hackswell.com/corenth
>
>> #try this: system("echo \'$xml\' | myprogamname")
>>
>> \ i haven't tried it, but it
>> should keep the shell from interpolating the xml data
>
>But what happens if the XML has a
> On Tue, 7 Sep 2004, Francesco del Vecchio wrote:
>
> > I've got a weird problem using an external program that get the input
> > from "stardard input"
> >
> > I've got to call it (and easily do this with "system('myprogramname')"
> > but I've to feed this program with an XML file that generall
On Tue, 7 Sep 2004, West, William M wrote:
One way to do this -- probably not a good one -- might be
system("echo $xml | myprogamname")
but if there's anything in the XML that the shell finds interesting,
this could fail in all kinds of spectacular ways.
#try this: system("echo \'$xml\' | mypro
>
>
>One way to do this -- probably not a good one -- might be
>
> system("echo $xml | myprogamname")
>
>but if there's anything in the XML that the shell finds interesting,
>this could fail in all kinds of spectacular ways.
#try this: system("echo \'$xml\' | myprogamname")
On Tue, 7 Sep 2004, Francesco del Vecchio wrote:
I've got a weird problem using an external program that get the input
from "stardard input"
I've got to call it (and easily do this with "system('myprogramname')"
but I've to feed this program with an XML file that generally is
passed via standar
From: Francesco del Vecchio <[EMAIL PROTECTED]>
> I've got a weird problem using an external program that get the input
> from "stardard input"
>
> I've got to call it (and easily do this with "system('myprogramname')"
> but I've to feed this program with an XML file that generally is
> passed via
hi to all,
I've got a weird problem using an external program that get the input from "stardard
input"
I've got to call it (and easily do this with "system('myprogramname')" but I've to
feed this
program with an XML file that generally is passed via standard input with a "filename |
myprogramna