{"id":33914358,"url":"https://github.com/spitulax/subprocess.odin","last_synced_at":"2026-03-09T18:39:14.566Z","repository":{"id":264376448,"uuid":"893186816","full_name":"spitulax/subprocess.odin","owner":"spitulax","description":"An Odin library for spawning child processes","archived":false,"fork":false,"pushed_at":"2025-08-10T15:53:45.000Z","size":346,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-10T17:29:17.946Z","etag":null,"topics":["odin","odin-lang","subprocess","subprocess-library"],"latest_commit_sha":null,"homepage":"","language":"Odin","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/spitulax.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,"zenodo":null}},"created_at":"2024-11-23T18:59:33.000Z","updated_at":"2025-08-10T15:53:48.000Z","dependencies_parsed_at":"2024-12-13T15:49:48.442Z","dependency_job_id":"41a2b273-783d-423b-89fe-a7ce761aca25","html_url":"https://github.com/spitulax/subprocess.odin","commit_stats":null,"previous_names":["spitulax/subprocess.odin"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/spitulax/subprocess.odin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spitulax%2Fsubprocess.odin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spitulax%2Fsubprocess.odin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spitulax%2Fsubprocess.odin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spitulax%2Fsubprocess.odin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spitulax","download_url":"https://codeload.github.com/spitulax/subprocess.odin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spitulax%2Fsubprocess.odin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30307549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T17:35:44.120Z","status":"ssl_error","status_checked_at":"2026-03-09T17:35:43.707Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["odin","odin-lang","subprocess","subprocess-library"],"created_at":"2025-12-12T06:26:40.144Z","updated_at":"2026-03-09T18:39:14.558Z","avatar_url":"https://github.com/spitulax.png","language":"Odin","readme":"\u003ch1 align=\"center\"\u003esubprocess.odin\u003c/h1\u003e\n\u003cp align=\"center\"\u003eAn Odin library for spawning child processes.\u003c/p\u003e\n\n## Features\n\n- Cross-platform (POSIX and Windows)\n- Capturing output\n- Sending input\n- Asynchronous/parallel execution\n- Command builder\n- Checking if program exists\n- Running shell commands (System-specific shell)\n- Passing environment variables to process\n\n## Usage\n\n- Clone the repo to your project\n- Import the package into your Odin file\n\n## Examples\n\nSee [`demos/examples.odin`](./demos/examples.odin).\n\n```odin\npackage main\n\nimport sp \"subprocess\"\n\nmain :: proc() {\n    cmd, _ := sp.command_make(\"cc\") // Will search from PATH\n    // File paths are also valid\n    // prog, _ := sp.command_make(\"./bin/cc\")\n    defer sp.command_destroy(\u0026cmd)\n    sp.command_append(\u0026cmd, \"--version\")\n    result, _ := sp.command_run(cmd, sp.Exec_Opts{output = .Capture})\n    defer sp.result_destroy(\u0026result)\n    sp.log_info(\"Output:\", string(result.stdout))\n}\n\n// See more examples in demos/examples.odin\n// Tests are also great examples\n```\n\n## Building Docs\n\n\u003e [!WARNING]\n\u003e The generated documentation is not great. I advise you to look at the source code for\n\u003e documentation.\n\n1. Compile `odin-doc`\n   1. Clone \u003chttps://github.com/odin-lang/pkg.odin-lang.org\u003e\n   2. Build it: `odin build . -out:odin-doc`\n\nThen,\n\n2. `make docs`\n3. `cd docs/site`\n4. `python3 -m http.server 10101`\n5. Go to `localhost:10101`\n\nOr alternatively,\n\n2. `cd docs`\n3. `make serve`\n4. Go to `localhost:10101`\n\n## Changelog\n\nSee [changelog](CHANGELOG.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspitulax%2Fsubprocess.odin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspitulax%2Fsubprocess.odin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspitulax%2Fsubprocess.odin/lists"}