{"action":"created","issue":{"url":"https://api.github.com/repos/danreeves/cargo-cmd/issues/13","repository_url":"https://api.github.com/repos/danreeves/cargo-cmd","labels_url":"https://api.github.com/repos/danreeves/cargo-cmd/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/danreeves/cargo-cmd/issues/13/comments","events_url":"https://api.github.com/repos/danreeves/cargo-cmd/issues/13/events","html_url":"https://github.com/danreeves/cargo-cmd/issues/13","id":378066416,"node_id":"MDU6SXNzdWUzNzgwNjY0MTY=","number":13,"title":"systemfd/listenfd not working through cargo-cmd","user":{"login":"callym","id":8853568,"node_id":"MDQ6VXNlcjg4NTM1Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/8853568?v=4","gravatar_id":"","url":"https://api.github.com/users/callym","html_url":"https://github.com/callym","followers_url":"https://api.github.com/users/callym/followers","following_url":"https://api.github.com/users/callym/following{/other_user}","gists_url":"https://api.github.com/users/callym/gists{/gist_id}","starred_url":"https://api.github.com/users/callym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callym/subscriptions","organizations_url":"https://api.github.com/users/callym/orgs","repos_url":"https://api.github.com/users/callym/repos","events_url":"https://api.github.com/users/callym/events{/privacy}","received_events_url":"https://api.github.com/users/callym/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-06T22:45:41Z","updated_at":"2018-11-16T12:42:28Z","closed_at":null,"author_association":"NONE","body":"I've got an `actix-web` app that uses the autoreloading setup from [here](https://actix.rs/docs/autoreload/), and am trying to use `cargo-cmd` to run a bash script that sets up stuff before the Rust program is run. Running the bash script works fine, but when running through `cargo cmd watch`, I get an error in my Rust code, `fd 3 is not a socket` from `listenfd`.\r\n\r\n```\r\n#!/bin/bash\r\n\r\n# other setup stuff\r\n\r\nsystemfd --no-pid -s http::6660 -- cargo watch -x run\r\n```\r\n\r\n```\r\n[package.metadata.commands]\r\nwatch = \"./watch.sh\"\r\n```"},"comment":{"url":"https://api.github.com/repos/danreeves/cargo-cmd/issues/comments/439381776","html_url":"https://github.com/danreeves/cargo-cmd/issues/13#issuecomment-439381776","issue_url":"https://api.github.com/repos/danreeves/cargo-cmd/issues/13","id":439381776,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTM4MTc3Ng==","user":{"login":"danreeves","id":1973559,"node_id":"MDQ6VXNlcjE5NzM1NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/1973559?v=4","gravatar_id":"","url":"https://api.github.com/users/danreeves","html_url":"https://github.com/danreeves","followers_url":"https://api.github.com/users/danreeves/followers","following_url":"https://api.github.com/users/danreeves/following{/other_user}","gists_url":"https://api.github.com/users/danreeves/gists{/gist_id}","starred_url":"https://api.github.com/users/danreeves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danreeves/subscriptions","organizations_url":"https://api.github.com/users/danreeves/orgs","repos_url":"https://api.github.com/users/danreeves/repos","events_url":"https://api.github.com/users/danreeves/events{/privacy}","received_events_url":"https://api.github.com/users/danreeves/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T12:42:28Z","updated_at":"2018-11-16T12:42:28Z","author_association":"OWNER","body":"Actually, I'm not sure this is an issue in `cargo-cmd`. I'm getting this error when running directly through systemfd 😕 \r\n\r\n```sh\r\ncargo build\r\n\r\nsystemfd --no-pid -s http::3000 -- ./target/debug/cargo-cmd-bug\r\n```"}}
{"actor":{"display_login":"danreeves"}}