{"id":16679537,"url":"https://github.com/mfelsche/pony-procs","last_synced_at":"2026-01-31T12:34:51.089Z","repository":{"id":143100610,"uuid":"176160329","full_name":"mfelsche/pony-procs","owner":"mfelsche","description":"Simple interface to running child processes in Ponylang :horse: :baby: :gear:","archived":false,"fork":false,"pushed_at":"2019-03-17T21:03:11.000Z","size":13,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T08:16:06.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Pony","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mfelsche.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-03-17T21:01:47.000Z","updated_at":"2023-01-22T00:58:00.000Z","dependencies_parsed_at":"2023-03-27T15:32:59.177Z","dependency_job_id":null,"html_url":"https://github.com/mfelsche/pony-procs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mfelsche/pony-procs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fpony-procs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fpony-procs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fpony-procs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fpony-procs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfelsche","download_url":"https://codeload.github.com/mfelsche/pony-procs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfelsche%2Fpony-procs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260483188,"owners_count":23016080,"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":[],"created_at":"2024-10-12T13:35:59.270Z","updated_at":"2026-01-31T12:34:46.058Z","avatar_url":"https://github.com/mfelsche.png","language":"Pony","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Procs\n\nA simple interface to running child processes in [Ponylang](https://ponylang.io):\n\n```pony\nuse \"procs\"\n\nactor Main\n  new create(env: Env) =\u003e\n    try\n      let result_promise = Procs.run_env(env, [\"/usr/bin/echo\"; \"how\"; \"awesome\"; \"is\"; \"this;\"])?\n      result_promise.next[None]({(res) =\u003e\n        match res\n        | let pres: ProcessResult =\u003e\n          env.out.write(pres.stdout)\n        | let perr: ProcessError =\u003e\n          env.err.print(\"Meh! :(\")\n        end\n      })\n    end\n```\n\nNo need to create a [ProcessNotify](process-ProcessNotify.md) or a [ProcessMonitor](process-ProcessMonitor.md) and\naccumulate chunks received from stdout, while all you want is to get stdout as `String`. Just run your process and\nhandle the [Promise](promises-Promise.md) containing either the [ProcessResult](procs-ProcessResult.md) with `exit_code`,\n`stdout` and `stderr` or an instance of [ProcessError](process-ProcessError.md).\n\nIt is possible to pass environment variables and write something to stdin of the child process.\n\n## Status\n\n[![CircleCI](https://circleci.com/gh/mfelsche/pony-procs.svg?style=svg)](https://circleci.com/gh/mfelsche/pony-procs) [![Build status](https://ci.appveyor.com/api/projects/status/mns3ld1foja8mo7n/branch/master?svg=true)](https://ci.appveyor.com/project/mfelsche/pony-procs/branch/master) [![Build Status](https://travis-ci.org/mfelsche/pony-procs.svg?branch=master)](https://travis-ci.org/mfelsche/pony-procs)\n\n## Installation\n\n* Install [pony-stable](https://github.com/ponylang/pony-stable)\n* Update your `bundle.json`\n\n```json\n{ \n  \"type\": \"github\",\n  \"repo\": \"mfelsche/pony-procs\"\n}\n```\n\n* `stable fetch` to fetch your dependencies\n* `use \"procs\"` to include this package\n* `stable env ponyc` to compile your application\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfelsche%2Fpony-procs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfelsche%2Fpony-procs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfelsche%2Fpony-procs/lists"}