Add support for single quotes in run/sudo/local command.