fix command line escaping for arguments containing spaces
Merge pull request #632 from yannrouillard/fix_args_with_space_handling

fix command line escaping for arguments containing spaces