{"action":"created","issue":{"url":"https://api.github.com/repos/hangoutsbot/hangoutsbot/issues/893","repository_url":"https://api.github.com/repos/hangoutsbot/hangoutsbot","labels_url":"https://api.github.com/repos/hangoutsbot/hangoutsbot/issues/893/labels{/name}","comments_url":"https://api.github.com/repos/hangoutsbot/hangoutsbot/issues/893/comments","events_url":"https://api.github.com/repos/hangoutsbot/hangoutsbot/issues/893/events","html_url":"https://github.com/hangoutsbot/hangoutsbot/issues/893","id":269519571,"node_id":"MDU6SXNzdWUyNjk1MTk1NzE=","number":893,"title":"Control and run other scripts via Hangouts","user":{"login":"JojoPiARM","id":32823220,"node_id":"MDQ6VXNlcjMyODIzMjIw","avatar_url":"https://avatars2.githubusercontent.com/u/32823220?v=4","gravatar_id":"","url":"https://api.github.com/users/JojoPiARM","html_url":"https://github.com/JojoPiARM","followers_url":"https://api.github.com/users/JojoPiARM/followers","following_url":"https://api.github.com/users/JojoPiARM/following{/other_user}","gists_url":"https://api.github.com/users/JojoPiARM/gists{/gist_id}","starred_url":"https://api.github.com/users/JojoPiARM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JojoPiARM/subscriptions","organizations_url":"https://api.github.com/users/JojoPiARM/orgs","repos_url":"https://api.github.com/users/JojoPiARM/repos","events_url":"https://api.github.com/users/JojoPiARM/events{/privacy}","received_events_url":"https://api.github.com/users/JojoPiARM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-10-30T08:43:47Z","updated_at":"2018-06-11T18:21:41Z","closed_at":null,"author_association":"NONE","body":"## Description\r\nI want to ask you, this plugin hangoutsbot supports to run (open) other examples .sh or example .py scripts, send reply info about outcomes from command via hangouts and close this scripts?\r\n\r\nIf yes, please help me, which hangoutsbot's commands I can use it?\r\n\r\n## Output of `/bot version`\r\n2.8.0 \r\nRaspbian Stretch on RPi3.\r\n"},"comment":{"url":"https://api.github.com/repos/hangoutsbot/hangoutsbot/issues/comments/396338241","html_url":"https://github.com/hangoutsbot/hangoutsbot/issues/893#issuecomment-396338241","issue_url":"https://api.github.com/repos/hangoutsbot/hangoutsbot/issues/893","id":396338241,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjMzODI0MQ==","user":{"login":"OllieTerrance","id":4025899,"node_id":"MDQ6VXNlcjQwMjU4OTk=","avatar_url":"https://avatars1.githubusercontent.com/u/4025899?v=4","gravatar_id":"","url":"https://api.github.com/users/OllieTerrance","html_url":"https://github.com/OllieTerrance","followers_url":"https://api.github.com/users/OllieTerrance/followers","following_url":"https://api.github.com/users/OllieTerrance/following{/other_user}","gists_url":"https://api.github.com/users/OllieTerrance/gists{/gist_id}","starred_url":"https://api.github.com/users/OllieTerrance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OllieTerrance/subscriptions","organizations_url":"https://api.github.com/users/OllieTerrance/orgs","repos_url":"https://api.github.com/users/OllieTerrance/repos","events_url":"https://api.github.com/users/OllieTerrance/events{/privacy}","received_events_url":"https://api.github.com/users/OllieTerrance/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T18:21:41Z","updated_at":"2018-06-11T18:21:41Z","author_association":"MEMBER","body":"> can I change word \"fortune\" to \"temp\" ?\r\n\r\nInstead of asking, have you actually _tried_ it for yourself?\r\n\r\n---\r\n\r\n> `\"command\": [\"python temp.py\"]`\r\n\r\nThat will try to call an executable called \"python temp.py\" (that is, a single filename with a space in it), which most likely doesn't exist.  Akin to doing this in a shell:\r\n\r\n```\r\n$ \"python temp.py\"     \r\nbash: python temp.py: command not found\r\n```\r\n\r\nWhat you meant to do was use `command` as a list of executable and arguments, like in a shell:\r\n\r\n```\r\n$ python temp.py\r\nThis is temp.py.\r\n```\r\n\r\nAs such, your `command` would be `[\"python\", \"temp.py\"]`.  If it can't find them, you may need to be explicit with the paths, i.e. `[\"/usr/bin/python\", \"/home/pi/Jojo_programs/temp.py\"]`."}}
{"actor":{"display_login":"OllieTerrance"}}