in reply to Unexpected termination on "print"

I'm actually running a patched version of Sys::Cmd locally so you won't be able to re-create this without modification.

Then how are we supposed to help? Maybe you could create a branch in your GitHub repo for the module and put the code there?