On Fri, 2005-11-11 at 15:26 -0600, Paul Krizak wrote: > So ExecResult throws out shell metacharacters? I'm confused as to what > is the expected "correct" behavior so I don't get burned next time I > need to upgrade. For example, we've got commands like this:
No. It doesn't throw out anyhing. It simply doesn't understand them because there is no shell. In Unix you can execute a process in two ways: directly by asking the kernel to start a process based on a certain program, or indirctly by asking it to start a /bin/ssh image and execute the task as a subprogram of that. The latter has several advantages (ability to use the shell to parse arguments and use pipes etc) and disadvantages (security issues, hidden assumptions). M _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
