in reply to Re^2: Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
in thread Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file

I see lots of "Use"s in the source for IPC::Run that I bet we also don't have.

Doubtful.
CarpCore.
ExporterCore.
FcntlCore.
File::BasenameCore.
File::SpecCore.
IO::HandleCore.
IO::FileCore.
IO::PtyConditionally required. If you need it for IPC::Run, you also need it for IPC::Open3.
IO::TtyConditionally required. If you need it for IPC::Run, you also need it for IPC::Open3.
IPC::Run::DebugComes with IPC::Run.
IPC::Run::IOComes with IPC::Run.
IPC::Run::TimerComes with IPC::Run.
IPC::Run::Win32HelperComes with IPC::Run.
IPC::Run::Win32IOComes with IPC::Run.
IPC::Run::Win32PumpComes with IPC::Run.
POSIXCore.
strictCore.
SocketCore.
SymbolCore.
UNIVERSALCore.
varsCore.

Not all of these are necessarily required or loaded.

Feel free to write your own solution with IPC::Open3.

  • Comment on Re^3: Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file