Changing how password is added to process string, to avoid some passwords breaking the shell

I hit this problem with a particularly crazy password from a password generator. The particular password ended up hanging grunt.

I am sure with this change there are still valid MySQL passwords that will break things.