A generic wrapper for execution of shell command to make it easy to horizontally scale such work.