IPC::Cmd allows you to run commands, interactively if desired,
platform independent but have them still work.

WWW: https://metacpan.org/release/IPC-Cmd
