[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.1.17 having issue with ExecResult() using pipelines
From: |
Brendan Strejcek |
Subject: |
Re: 2.1.17 having issue with ExecResult() using pipelines |
Date: |
Fri, 11 Nov 2005 10:41:14 -0600 |
User-agent: |
Mutt/1.5.6+20040818i |
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
- 2.1.17 having issue with ExecResult() using pipelines, nathan r. hruby, 2005/11/10
- RE: 2.1.17 having issue with ExecResult() using pipelines, Martin, Jason H, 2005/11/11
- RE: 2.1.17 having issue with ExecResult() using pipelines, Martin, Jason H, 2005/11/11
- RE: 2.1.17 having issue with ExecResult() using pipelines, nathan r. hruby, 2005/11/11
- Re: 2.1.17 having issue with ExecResult() using pipelines, Chip Seraphine, 2005/11/11
- Re: 2.1.17 having issue with ExecResult() using pipelines, nathan r. hruby, 2005/11/11
- Re: 2.1.17 having issue with ExecResult() using pipelines, Brendan Strejcek, 2005/11/11
- Re: 2.1.17 having issue with ExecResult() using pipelines, Chip Seraphine, 2005/11/11