You could use IPC::Open3 or consider the possibility of transforming your 2.pl into a module
Careful with that hash Eugene.
In reply to Re: system command by psini in thread system command by palette