ZEN-12783: long userCommands insert extra \n characters that break the c...

...ommand