{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/nuclide/issues/91","labels_url":"https://api.github.com/repos/facebook/nuclide/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/facebook/nuclide/issues/91/comments","events_url":"https://api.github.com/repos/facebook/nuclide/issues/91/events","html_url":"https://github.com/facebook/nuclide/issues/91","id":90607328,"number":91,"title":"isFlowInstalled() returns false","user":{"login":"Nexi","id":4218267,"avatar_url":"https://avatars.githubusercontent.com/u/4218267?v=3","gravatar_id":"","url":"https://api.github.com/users/Nexi","html_url":"https://github.com/Nexi","followers_url":"https://api.github.com/users/Nexi/followers","following_url":"https://api.github.com/users/Nexi/following{/other_user}","gists_url":"https://api.github.com/users/Nexi/gists{/gist_id}","starred_url":"https://api.github.com/users/Nexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nexi/subscriptions","organizations_url":"https://api.github.com/users/Nexi/orgs","repos_url":"https://api.github.com/users/Nexi/repos","events_url":"https://api.github.com/users/Nexi/events{/privacy}","received_events_url":"https://api.github.com/users/Nexi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-24T08:26:06Z","updated_at":"2015-06-24T08:26:06Z","closed_at":null,"body":"I have got flow installed on my system (Ubuntu 12.04) but this function isFlowInstalled()\r\nlocated in LocalFlowService.js return false every time when executed. \r\n\r\nIn this section of the function below always goes inside catch statement with e.exitCode equals 1...\r\n```\r\ntry {\r\n      await asyncExecute(\"which\", [path]);\r\n      return true;\r\n    } catch (e) {\r\n      return false;\r\n    }\r\n```\r\n"}}