{"id":15404672,"url":"https://github.com/k1low/exec","last_synced_at":"2025-02-23T06:14:18.901Z","repository":{"id":44181554,"uuid":"198080525","full_name":"k1LoW/exec","owner":"k1LoW","description":"*os/exec.Cmd with PGID set.","archived":false,"fork":false,"pushed_at":"2023-02-19T05:14:58.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-02T00:01:58.348Z","etag":null,"topics":["exec","pgid","process-group"],"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/k1LoW.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"k1LoW","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-07-21T16:34:45.000Z","updated_at":"2024-05-30T08:25:58.473Z","dependencies_parsed_at":"2024-05-30T08:25:55.282Z","dependency_job_id":"5a4507dc-3318-4cd5-ac60-d9d6218dcf73","html_url":"https://github.com/k1LoW/exec","commit_stats":{"total_commits":52,"total_committers":1,"mean_commits":52.0,"dds":0.0,"last_synced_commit":"786f5b45473484791db8091040a4f8f26ecf4930"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Fexec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Fexec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Fexec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Fexec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k1LoW","download_url":"https://codeload.github.com/k1LoW/exec/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240275925,"owners_count":19775615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["exec","pgid","process-group"],"created_at":"2024-10-01T16:13:59.935Z","updated_at":"2025-02-23T06:14:18.869Z","avatar_url":"https://github.com/k1LoW.png","language":"Go","readme":"# exec [![CI](https://github.com/k1LoW/exec/actions/workflows/ci.yml/badge.svg)](https://github.com/k1LoW/exec/actions) [![GitHub release](https://img.shields.io/github/release/k1LoW/exec.svg)](https://github.com/k1LoW/exec/releases) [![GoDoc](https://godoc.org/github.com/k1LoW/exec?status.svg)](https://godoc.org/github.com/k1LoW/exec)\n\n## Usage\n\n``` golang\nimport (\n    // \"os/exec\"\n    \"github.com/k1LoW/exec\"\n)\n```\n\n## Difference between `os/exec` and `k1LoW/exec`\n\n- `k1LoW/exec.Command` returns `*os/exec.Cmd` with PGID set.\n- When context cancelled, `k1LoW/exec.CommandContext` send signal to process group.\n\n## References\n\n- [Songmu/timeout](https://github.com/Songmu/timeout): Timeout invocation. Go porting of GNU timeout and able to use as Go package\n    - [k1LoW/exec](https://github.com/k1LoW/exec) is porting source code to handle processes from [Songmu/timeout](https://github.com/Songmu/timeout)\n","funding_links":["https://github.com/sponsors/k1LoW"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1low%2Fexec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk1low%2Fexec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1low%2Fexec/lists"}