{"action":"created","issue":{"url":"https://api.github.com/repos/scrooloose/syntastic/issues/1407","labels_url":"https://api.github.com/repos/scrooloose/syntastic/issues/1407/labels{/name}","comments_url":"https://api.github.com/repos/scrooloose/syntastic/issues/1407/comments","events_url":"https://api.github.com/repos/scrooloose/syntastic/issues/1407/events","html_url":"https://github.com/scrooloose/syntastic/issues/1407","id":73170206,"number":1407,"title":"\"Command terminated\" when saving less files","user":{"login":"bmulholland","id":247713,"avatar_url":"https://avatars.githubusercontent.com/u/247713?v=3","gravatar_id":"","url":"https://api.github.com/users/bmulholland","html_url":"https://github.com/bmulholland","followers_url":"https://api.github.com/users/bmulholland/followers","following_url":"https://api.github.com/users/bmulholland/following{/other_user}","gists_url":"https://api.github.com/users/bmulholland/gists{/gist_id}","starred_url":"https://api.github.com/users/bmulholland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmulholland/subscriptions","organizations_url":"https://api.github.com/users/bmulholland/orgs","repos_url":"https://api.github.com/users/bmulholland/repos","events_url":"https://api.github.com/users/bmulholland/events{/privacy}","received_events_url":"https://api.github.com/users/bmulholland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-05T00:57:58Z","updated_at":"2015-05-05T15:53:55Z","closed_at":null,"body":"Recently I've started getting a \"Command terminated\" error every time I save a `.less` file. I dumped the log and here's what I'm seeing:\r\n\r\n```\r\nCalling shell to execute: \"(lessc --no-color app/assets/stylesheets/contract-ui.css.less > /dev/null) >/v\r\nar/folders/vz/wfs0t4g55xn0sjpnmf6d9jfc0000gn/T/v6kH6n5/6 2>&1\"\r\nCommand terminated\r\n```\r\n\r\nI tried running it myself, and it seems that the error is happening because the folder doesn't exist:\r\n\r\n`zsh: no such file or directory: /var/folders/vz/wfs0t4g55xn0sjpnmf6d9jfc0000gn/T/v6kH6n5/6`\r\n\r\nOutputting the same command to a different file works fine. The following command exits successfully and test.txt is generated (and is empty).\r\n\r\n`(lessc --no-color app/assets/stylesheets/contract-ui.css.less > /dev/null) > test.txt 2>&1`"},"comment":{"url":"https://api.github.com/repos/scrooloose/syntastic/issues/comments/99122954","html_url":"https://github.com/scrooloose/syntastic/issues/1407#issuecomment-99122954","issue_url":"https://api.github.com/repos/scrooloose/syntastic/issues/1407","id":99122954,"user":{"login":"bmulholland","id":247713,"avatar_url":"https://avatars.githubusercontent.com/u/247713?v=3","gravatar_id":"","url":"https://api.github.com/users/bmulholland","html_url":"https://github.com/bmulholland","followers_url":"https://api.github.com/users/bmulholland/followers","following_url":"https://api.github.com/users/bmulholland/following{/other_user}","gists_url":"https://api.github.com/users/bmulholland/gists{/gist_id}","starred_url":"https://api.github.com/users/bmulholland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmulholland/subscriptions","organizations_url":"https://api.github.com/users/bmulholland/orgs","repos_url":"https://api.github.com/users/bmulholland/repos","events_url":"https://api.github.com/users/bmulholland/events{/privacy}","received_events_url":"https://api.github.com/users/bmulholland/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T15:53:55Z","updated_at":"2015-05-05T15:53:55Z","body":"```\r\nsyntastic: 7.358630: &shell = '/usr/local/bin/zsh', &shellcmdflag = '-c', &shellpipe = '2>&1| tee', &shellquote = '', &shellredir = '>%s 2>&1', &shellslash = 0, &shelltemp = 1, &shellxquote = '', &shellxescape\r\n= ''\r\nsyntastic: 7.358873: UpdateErrors (auto): default checkers\r\nsyntastic: 7.359190: CacheErrors: default checkers\r\nsyntastic: 7.359808: g:syntastic_aggregate_errors = 0\r\nsyntastic: 7.359990: getcwd() = '/Users/bmulholland/dev/contractually'\r\nsyntastic: 7.368397: CacheErrors: Invoking checker: less/lessc\r\nsyntastic: 7.369113: SyntasticMake: called with options: {'postprocess': ['guards'], 'errorformat': '%m in %f on line %l\\, column %c:,%m in %f:%l:%c,%-G%.%#', 'defaults': {'bufnr': 1, 'text': 'Syntax error'}, '\r\nmakeprg': 'lessc --no-color app/assets/stylesheets/contract-ui.css.less > /dev/null'}\r\nCommand terminated\r\nsyntastic: 11.069768: getLocList: checker less/lessc returned -1   \r\n```"}}