in reply to System Function...script does not move until process ends.

From the first line of system:
Does exactly the same thing as exec LIST , except that a fork is done first, and the parent process waits for the child process to complete
If you're starting a database using system - it's going to wait until that child dies!!

Try starting it in the background (??) or using qx//
"But what of all those sweet words you spoke in private?"
"Oh that's just what we call pillow talk, baby, that's all."