{"action":"created","issue":{"url":"https://api.github.com/repos/SimonKagstrom/kcov/issues/271","repository_url":"https://api.github.com/repos/SimonKagstrom/kcov","labels_url":"https://api.github.com/repos/SimonKagstrom/kcov/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/SimonKagstrom/kcov/issues/271/comments","events_url":"https://api.github.com/repos/SimonKagstrom/kcov/issues/271/events","html_url":"https://github.com/SimonKagstrom/kcov/issues/271","id":369317991,"node_id":"MDU6SXNzdWUzNjkzMTc5OTE=","number":271,"title":"Bash script prompt/expect/read doesn't work properly","user":{"login":"christronyxyocum","id":22502007,"node_id":"MDQ6VXNlcjIyNTAyMDA3","avatar_url":"https://avatars3.githubusercontent.com/u/22502007?v=4","gravatar_id":"","url":"https://api.github.com/users/christronyxyocum","html_url":"https://github.com/christronyxyocum","followers_url":"https://api.github.com/users/christronyxyocum/followers","following_url":"https://api.github.com/users/christronyxyocum/following{/other_user}","gists_url":"https://api.github.com/users/christronyxyocum/gists{/gist_id}","starred_url":"https://api.github.com/users/christronyxyocum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christronyxyocum/subscriptions","organizations_url":"https://api.github.com/users/christronyxyocum/orgs","repos_url":"https://api.github.com/users/christronyxyocum/repos","events_url":"https://api.github.com/users/christronyxyocum/events{/privacy}","received_events_url":"https://api.github.com/users/christronyxyocum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-11T21:47:37Z","updated_at":"2018-10-12T11:38:17Z","closed_at":null,"author_association":"NONE","body":"Very new to all of this and taking on the adventure of trying to get my bash script to at least 75% coverage just because.\r\n\r\nI'm using Travis CI and Codecov for this process and, within Travis, I'm using some expect scripts to handle a few prompts for various options of the script, but I can't seem to get them to play nice with kcov.\r\n\r\nHow can I use kcov to handle script options that prompt the user for input?"},"comment":{"url":"https://api.github.com/repos/SimonKagstrom/kcov/issues/comments/429296926","html_url":"https://github.com/SimonKagstrom/kcov/issues/271#issuecomment-429296926","issue_url":"https://api.github.com/repos/SimonKagstrom/kcov/issues/271","id":429296926,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTI5NjkyNg==","user":{"login":"SimonKagstrom","id":373351,"node_id":"MDQ6VXNlcjM3MzM1MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/373351?v=4","gravatar_id":"","url":"https://api.github.com/users/SimonKagstrom","html_url":"https://github.com/SimonKagstrom","followers_url":"https://api.github.com/users/SimonKagstrom/followers","following_url":"https://api.github.com/users/SimonKagstrom/following{/other_user}","gists_url":"https://api.github.com/users/SimonKagstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonKagstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonKagstrom/subscriptions","organizations_url":"https://api.github.com/users/SimonKagstrom/orgs","repos_url":"https://api.github.com/users/SimonKagstrom/repos","events_url":"https://api.github.com/users/SimonKagstrom/events{/privacy}","received_events_url":"https://api.github.com/users/SimonKagstrom/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T11:38:17Z","updated_at":"2018-10-12T11:38:17Z","author_association":"OWNER","body":"I haven't tried that before, and indeed it doesn't work. Probably kcov needs to pass stdin on to the shell script for this to work. I believe what you are seeing is kcov trying to gobble up the input instead of the script."}}
{"actor":{"display_login":"SimonKagstrom"}}