{"action":"created","issue":{"url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/1375","repository_url":"https://api.github.com/repos/datacleaner/DataCleaner","labels_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/1375/labels{/name}","comments_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/1375/comments","events_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/1375/events","html_url":"https://github.com/datacleaner/DataCleaner/issues/1375","id":157820812,"number":1375,"title":"CLI does not support file paths with spaces","user":{"login":"kaspersorensen","id":291450,"avatar_url":"https://avatars.githubusercontent.com/u/291450?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspersorensen","html_url":"https://github.com/kaspersorensen","followers_url":"https://api.github.com/users/kaspersorensen/followers","following_url":"https://api.github.com/users/kaspersorensen/following{/other_user}","gists_url":"https://api.github.com/users/kaspersorensen/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspersorensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspersorensen/subscriptions","organizations_url":"https://api.github.com/users/kaspersorensen/orgs","repos_url":"https://api.github.com/users/kaspersorensen/repos","events_url":"https://api.github.com/users/kaspersorensen/events{/privacy}","received_events_url":"https://api.github.com/users/kaspersorensen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/datacleaner/DataCleaner/labels/Component:%20Desktop","name":"Component: Desktop","color":"bfd4f2"},{"url":"https://api.github.com/repos/datacleaner/DataCleaner/labels/Type:%20Bug","name":"Type: Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-01T04:23:18Z","updated_at":"2016-06-01T13:47:56Z","closed_at":null,"body":"I wanted to make a demo for my [DataCleaner docker repo](https://github.com/kaspersorensen/datacleaner-docker) but unfortunately ran into a problem with demonstrating the command-line invocation of the example jobs: They contain spaces, and the CLI seems to fail to handle file paths with spaces.\r\n\r\nFor example (this example is on Mac, not Docker):\r\n```\r\n> /Applications/DataCleaner/datacleaner.sh -job /Users/kasper/.datacleaner/5.0.2/jobs/Customer profiling.analysis.xml\r\n[...]\r\njava.lang.IllegalStateException: java.io.FileNotFoundException: /Users/kasper/.datacleaner/5.0.2/jobs/Customer (No such file or directory)\r\n```\r\nQuite obviously from the exception, the argument parsing is stopping after \"Customer\" because of the space. I also tried with `%20` and `\\ ` to escape the space, but still without luck."},"comment":{"url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/comments/222997429","html_url":"https://github.com/datacleaner/DataCleaner/issues/1375#issuecomment-222997429","issue_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/1375","id":222997429,"user":{"login":"LosD","id":1282832,"avatar_url":"https://avatars.githubusercontent.com/u/1282832?v=3","gravatar_id":"","url":"https://api.github.com/users/LosD","html_url":"https://github.com/LosD","followers_url":"https://api.github.com/users/LosD/followers","following_url":"https://api.github.com/users/LosD/following{/other_user}","gists_url":"https://api.github.com/users/LosD/gists{/gist_id}","starred_url":"https://api.github.com/users/LosD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LosD/subscriptions","organizations_url":"https://api.github.com/users/LosD/orgs","repos_url":"https://api.github.com/users/LosD/repos","events_url":"https://api.github.com/users/LosD/events{/privacy}","received_events_url":"https://api.github.com/users/LosD/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T13:47:56Z","updated_at":"2016-06-01T13:47:56Z","body":"Space escaping also seems to work perfectly in mingw bash: `./DataCleaner-console.exe -conf ~/.datacleaner/5.0.3/conf.xml -job ~/.datacleaner/5.0.3/jobs/Customer\\ filtering.analysis.xml`\r\n\r\nIt is also somehow weird if it doesn't... Escaping and separating arguments is the shell's responsibility, not the programs'.\r\n\r\n@jhorcicka Could I get you to test if your Linux installation has similar problems to @kaspersorensen?"}}
{"actor":{"display_login":"LosD"}}