Avoid problems with spaces when passing parameters to shell