On Tue, Feb 27, 2007 at 11:57:48AM +1100, Brian May wrote: > No. I started at one point, but got bogged down in the details. > > Securely running an external command in Perl without invoking the > shell and grabbing the commands STDOUT is not easy... > > Probably the best way would be to create a function to do this, but I > never got to doing it. > > Once this is done, it really shouldn't be too hard to do the rest.
I'm surprised ikiwiki doesn't have such a thing in it already, but: http://search.cpan.org/dist/perl/pod/perlipc.pod#Safe_Pipe_Opens http://search.cpan.org/src/ROSCH/Proc-SafePipe-0.01/SafePipe.pm -- Nathaniel -- The Universe may / Be as large as they say But it wouldn't be missed / If it didn't exist. -- Piet Hein _______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
