site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) hello, i currently have two issues: 1) what do i do if a program expects data from stdin? ie: dnscache < seed 2) how do i redirect stdout/stderr to another program for logging? ie: port selfupdate | logger -i -p local0.notice -t port any suggestions or pointers would be great! keith. _______________________________________________ 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... my apologies if this is not the correct form to post questions about launchd. let me start by saying that i believe launchd is the greatest thing since sliced bread, and it's proved quite useful. the only thing i haven't figured out is how to perform redirection. i understand i can specify an output file for stdout and stderr, but what if i want to pipe the output into another program? i've attempted to use the "|", "<", and ">" in the program arguments, but that hasn't work either. for #2 i've thought about named pipes, but those always feel like "dirty hacks." i suppose i could add items like #2 to one of my periodic files, but i'd like them to be standalone launchd.plists, and it seems like there should be some way to do i/o redirection with a launchd controlled item. am i missing something? This email sent to site_archiver@lists.apple.com