Pass variables to run method

Added the possibility to pass arguments to the forked child's run method.
Merge pull request #2 from pimlie/master

Pass variables to run method