[PLXUTILS-161] Commandline shell injection problems

Patch by Charles Duffy, applied unmodified