{"id":49571542,"url":"https://github.com/bugsnag/proc-launcher","last_synced_at":"2026-05-03T14:32:12.537Z","repository":{"id":54431985,"uuid":"323936354","full_name":"bugsnag/proc-launcher","owner":"bugsnag","description":"extensible program launcher","archived":false,"fork":false,"pushed_at":"2025-06-30T15:55:22.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":28,"default_branch":"master","last_synced_at":"2026-02-11T01:44:47.627Z","etag":null,"topics":["bugs","bugsnag","debug","debugging-tool","error-monitoring","error-reporting","notifier","platforms"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bugsnag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":".github/support.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-12-23T15:24:33.000Z","updated_at":"2025-06-30T15:55:25.000Z","dependencies_parsed_at":"2025-06-30T15:33:19.294Z","dependency_job_id":"b5037f86-e844-4860-a080-eeff0a8c5849","html_url":"https://github.com/bugsnag/proc-launcher","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bugsnag/proc-launcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fproc-launcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fproc-launcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fproc-launcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fproc-launcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugsnag","download_url":"https://codeload.github.com/bugsnag/proc-launcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugsnag%2Fproc-launcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32573321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bugs","bugsnag","debug","debugging-tool","error-monitoring","error-reporting","notifier","platforms"],"created_at":"2026-05-03T14:32:11.864Z","updated_at":"2026-05-03T14:32:12.532Z","avatar_url":"https://github.com/bugsnag.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# proc-launcher\n\nAn executable which launches a child process, awaiting its exit. Input/output\nstreams are forwarded to/from the child process, as well as system signals.\n\n## Usage\n\n```sh\nproc-launcher [my_process] [my_process arguments]\n```\n\n## API Usage\n\nThe launcher can also be extended to handle terminated process state and output\nstream contents\n\n```go\ntype extension struct{}\n\n// handle bytes added to stdout\nfunc (ex extension) ReadStdout(bytes []byte) {\n\tfmt.Printf(\"you said: %s\", string(bytes))\n}\n\n// handle bytes added to stderr\nfunc (ex extension) ReadStderr(bytes []byte) {\n\tfmt.Printf(\"something bad happened: %s\", string(bytes))\n}\n\n// handle child process termination\nfunc (ex extension) AtExit(code int) {\n\tfmt.Printf(\"process terminated, code %d\", code)\n}\n\nfunc main() {\n\t// create a new launcher using command arguments as the child process\n\tlauncher := l.New(os.Args[1:]...)\n\t// install a custom extension. An extension can respond to any/all of the\n\t// above interfaces.\n\tlauncher.InstallPlugin(extension{})\n\t// launch the child process\n\tif err := launcher.Start(); err != nil {\n\t\tfmt.Printf(\"failed to launch process: %v\", err)\n\t}\n\t// wait until the process terminates to exit\n\tif err := launcher.Wait(); err != nil {\n\t\tfmt.Printf(\"failed to await process: %v\", err)\n\t}\n}\n```\n\n## Testing\n\n```\ncucumber\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsnag%2Fproc-launcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugsnag%2Fproc-launcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsnag%2Fproc-launcher/lists"}