Example of how to implement the common programming task of fork/exec in Bash shell script:

#!/bin/bash
fork(){
 eval $@
 }
fork $@ &
exit 0

I’ve found this useful when dealing with scripts/programs that were not originally written to fork into the background.
Source: http://stackoverflow.com/questions/3096561/fork-and-exec-in-bash