in reply to Re: executing an external program
in thread executing an external program

It's also worth checking out IPC::Run3. The documentation includes a comparison of IPC::Run3 to:

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.