On Sun, Aug 31, 2008 at 1:35 AM, Avery Pennarun <apenwarr@xxxxxxxxx> wrote: > On Sat, Aug 30, 2008 at 4:37 PM, Jakub Narebski <jnareb@xxxxxxxxx> wrote: >> Or you can use "open $fd, '-|'" to fork, an "manually" exec/system. > > Shell quoting is a disaster (including security holes, where relevant) > waiting to happen. The above is the only sane way to do it, and it > isn't very hard to implement. (Instead of system() in the subprocess, > you can use exec().) The perlipc man page has example routines. Search for "safe backtick" and/or "safe pipe". j. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html