Escape input to help prevent RCE

Escaping command line input so an attacker can't inject a simple ";" and execute commands on the system.