[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Curious about ikiwiki integration
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] Curious about ikiwiki integration |
Date: |
Mon, 26 Feb 2007 17:49:41 -0800 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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