On Feb 16, 2005, at 4:26 PM, Rafael Garcia-Suarez wrote:
Steve Hay wrote:If IPC::Open3 does work then I guess CPANPLUS should use it, and we don't need IPC::Run in the core.
Just to nuanciate; it's the modules that are used by cpanplus that does this: Archive::Extract supports extracting tar archives via /bin/tar and needs piping for that (gzip -cd | tar). It uses IPC::Cmd for this (which is a way to use IPC::Run, IPC::Open3 and system calls, depending on OS, availability and environment).
Basically, if we can either get:
a) pipes to work 'somehow' on win32 (that being ipc::run or a fix on ipc::open3 or teaching IPC::Cmd to use IPC::Run3).
or
b) Get archive::tar in the core, so we can eliminate the only need for pipes by Archive::Extract. We'd still need to catch output buffers from commandline tools, but that might be doable (even on win32) with ipc::open3 or ipc::run3.
--
Jos Boumans'Real programmers use "cat > a.out"'
CPANPLUS http://cpanlus.sf.net
