On Aug 26, 2007, at 10:33 PM, Michael G Schwern wrote:

My lament was sort of a general lament not specific to MakeMaker. A "the
programmer shouldn't have to be this careful" thing.

A version of system(LIST) which captured would go a long way towards helping.

I've run into the exact same problem when coding CPANPLUS, and that's where IPC::Cmd spawned from. For our purposes (running shell commands cross platform, interactively, while capturing both output & exit code), it's worked pretty
well...

  http://search.cpan.org/~kane/IPC-Cmd/lib/IPC/Cmd.pm

For EU::MM, it probably has too many prereqs, but it might still be an
interesting bit of code to look at.

--

        Jos Boumans

        How do I prove I am not crazy to people who are?



Reply via email to