Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add process management docs #218

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Conversation

sogaiu
Copy link
Contributor

@sogaiu sogaiu commented Feb 29, 2024

This PR is an attempt to address #215.

This initial version covers two approaches to working with subprocesses in Janet, i.e. os/execute and os/spawn.

There are three pages:

  • a brief introduction that could be expanded to accomodate additional things if necessary in some future pr (e.g. os/posix-fork and os/posix-exec)
  • a page for os/execute
  • a page for os/spawn and closely related functions such as os/proc-wait and os/proc-close

FWIW, this approach of splitting across pages is similar to that taken with the fibers section which also has multiple pages.

Thanks to:

  • @amano-kenji for the j3blocks work and related feedback
  • @bakpakin for the tips and pointers in the various related issues
  • @llmII for the repeated reviews and many discussions

@bakpakin bakpakin merged commit 2676a88 into janet-lang:master Apr 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants