Fixed bug processing the command line: no longer truncates cmd
Merge branch 'dev': fixed command line processing bug