site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Dec 28, 2007, at 3:41 PM, Benjamin Huntsman wrote: <key>ProgramArguments</key> <array> <string>postgres</string> <string>args</string> <string>|</string> <string>rotatelogs</string> <string>args</string> </array> i.e., passing |, rotatelogs, arg1, and arg2 to postgres. -- Steve Checkoway "Anyone who says that the solution is to educate the users hasn't ever met an actual user." -- Bruce Schneier _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com I find it hard to believe that that would work at all. If so, then there would be no need for an array of arguments, one could merely pass the entire command line. I suspect, but haven't actually tested, that this would be about the same as doing execl( "postgres", "postgres", "arg1", "arg2...", "|", "rotatelogs", "arg1", "arg2...", NULL ); smime.p7s