Stream: beginners

Topic: CLI Platform for spawning child processes?


view this post on Zulip Matthew Griffith (Feb 28 2023 at 16:19):

Is there an existing platform that can spawn child processes? I didn't see it in cli_basic, but I also could have missed it :thinking:

view this post on Zulip Matthew Griffith (Feb 28 2023 at 16:38):

If it's not there, maybe I'll just try creating my own platform :muscle:

view this post on Zulip Ayaz Hafiz (Feb 28 2023 at 16:39):

I don't think the CLI platform supports spawning child processes currently, but it would be sweet to add support for it!

view this post on Zulip Ayaz Hafiz (Feb 28 2023 at 16:40):

I had this design for it in the CLI platform but it's not implemented

view this post on Zulip Matthew Griffith (Feb 28 2023 at 16:59):

Sweet!

view this post on Zulip Richard Feldman (Feb 28 2023 at 21:22):

yeah I can help with that if you're interested!

view this post on Zulip Matthew Griffith (Mar 01 2023 at 15:58):

That would be cool! My first plan is to make a little TUI library to get familiar with stuff, and then I want to try having Roc handle the CLI part of a few tools of mine (elm-codegen, elm-gql, and an elm-ui thing I'm working on). Generally all they do is call some .js that was generated by an Elm app and possibly write some files based on the result.


Last updated: Jul 06 2025 at 12:14 UTC