in reply to Capturing program output

In theory, you could use named pipes, though I'm not sure if it's worth the trouble...

Some programs also understand '-' as a pseudo filename representing stdin (not sure about svg2pdf) — but there's typically no equivalent placeholder for stdout. (Otherwise - if there was - you could set up bidirectional communication, e.g. with IPC::Open3.)

Replies are listed 'Best First'.
Re^2: Capturing program output
by cdarke (Prior) on Jan 14, 2011 at 10:47 UTC
    you could use named pipes

    ++, but only on UNIX like operating systems. Named pipes on Windows are rather different.