CFE only checks that the first command in ExecResult is fully pathed. -JM
> -----Original Message----- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > org] On Behalf Of Brendan Strejcek > Sent: Friday, November 11, 2005 8:41 AM > To: Mark Burgess > Cc: [email protected] > Subject: Re: 2.1.17 having issue with ExecResult() using pipelines > > > Mark Burgess wrote: > > > binning cats is cruel so cfengine doesn't allow you to gloat with > > "yada yada" afterwards. > > > > Actually this has to do with the fact that no shell is used to wrap > > the command. It could be useful to have a functino which does wrap > > too. For now you can do /bin/sh to hush up the cruelty. > > Wow, I so didn't follow that. :-) > > nathan r. hruby wrote: > > > fooish = ( ExecResult(/bin/sh -c "/bin/cat file | yada | > yada | yada") > > ) > > Do you use absolute paths for all the yadas? Maybe that is > the problem. > > Best, > Brendan > > -- > Senior System Administrator > The University of Chicago > Department of Computer Science > http://www.cs.uchicago.edu/people/brendan > > > > _______________________________________________ > Help-cfengine mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-> cfengine > _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
