in reply to Copying a file while running an external batch script

You can either start your program in the background (on unix: system('yourprogram &');) or fork and exec in the child.

See also IPC::Run and perlipc.