{"id":20199116,"url":"https://github.com/lakr233/auxiliaryexecute","last_synced_at":"2025-07-27T06:06:22.764Z","repository":{"id":44383345,"uuid":"435492821","full_name":"Lakr233/AuxiliaryExecute","owner":"Lakr233","description":"A Swift wrapper for system shell over posix_spawn with search path and env support.","archived":false,"fork":false,"pushed_at":"2024-03-16T21:46:07.000Z","size":29,"stargazers_count":25,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-10T11:34:44.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/Lakr233.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2021-12-06T12:43:52.000Z","updated_at":"2025-02-23T10:52:04.000Z","dependencies_parsed_at":"2025-04-10T11:08:56.173Z","dependency_job_id":"cc1f0871-8883-411e-8035-eb3beee2da70","html_url":"https://github.com/Lakr233/AuxiliaryExecute","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/Lakr233/AuxiliaryExecute","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakr233%2FAuxiliaryExecute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakr233%2FAuxiliaryExecute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakr233%2FAuxiliaryExecute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakr233%2FAuxiliaryExecute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lakr233","download_url":"https://codeload.github.com/Lakr233/AuxiliaryExecute/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakr233%2FAuxiliaryExecute/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267312258,"owners_count":24067774,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-14T04:35:55.277Z","updated_at":"2025-07-27T06:06:22.698Z","avatar_url":"https://github.com/Lakr233.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AuxiliaryExecute\n\nA Swift wrapper for system shell over posix_spawn with search path and env support.\n\n## Usage\n\n```\nimport AuxiliaryExecute\n\nAuxiliaryExecute.local.bash(command: \"echo nya\")\n```\n\n## Customization \u0026 Defaults\n\nThe source for this package is well explained in details along with comments. Feel free looking for them.\n\n```\n// automatically search for binary within env PATH\nlet result = AuxiliaryExecute.local.shell(\n    command: \"bash\",\n    args: [\"-c\", \"echo $mua\"],\n    environment: [\"mua\": \"nya\"],\n    timeout: 0\n) { stdout in\n    print(stdout)\n} stderrBlock: { stderr in\n    print(stderr)\n}\n\n// or call with binary's full path\nfunc spawn(\n    command: String,\n    args: [String] = [],\n    environment: [String: String] = [:],\n    timeout: Double = 0,\n    stdoutBlock: ((String) -\u003e Void)? = nil,\n    stderrBlock: ((String) -\u003e Void)? = nil\n)\n\n// for customize option for shell\nfunc appendSearchPath(with value: String)\nfunc updateExtraSearchPath(with block: (inout [String]) -\u003e Void)\nfunc updateOverwriteTable(with block: (inout [String: String?]) -\u003e Void)\n```\n\n## License\n\nAuxiliaryExecute is licensed under [MIT](./LICENSE).\n\n---\n\nCopyright © 2021 Lakr Aream. All Rights Reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakr233%2Fauxiliaryexecute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flakr233%2Fauxiliaryexecute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakr233%2Fauxiliaryexecute/lists"}