Minor adjust
Modify exec command for sudo situation to create correct worker pid file

Modify the invorke way for job command in exec() function to track the
correct parent process ID of the job process run by each single worker.
Bug fix for masterchief.php
Modify cortana to use correct bash command to create correct worker pid
file in sudo situation

Replicate the same bash command for job process run in worker that
tested in masterchief codes to cortana