vermilionrc icon indicating copy to clipboard operation
vermilionrc copied to clipboard

Experiment with execution model

Open bluejekyll opened this issue 4 years ago • 0 comments

At this point this is only a POC. There is a lot of work todo, but this is promising, if minimal. It should be portable across Unixs (Linux/macOS), Windows will be something else to investigate.

At this point (list will grow) this shows:

  • [x] forking and passing control to unnamed processes
  • [x] association of stderr and stdout
  • [x] Integrate with Tokio
  • [x] passing a pipe (eventually this will be stdout) from one process to another.
    • [x] this is required to be Unix Domain Sockets
    • [ ] support the Launcher spawning processes and sending stdout/err to the Logger
  • [ ] Establish control protocol for processes
    • [ ] use stdin for input controls?, rather than sockets.
    • [ ] create ipc layer for all services (socket or pipe based messaging?)
  • [ ] signal handling
    • [ ] sigchld, vermilion should shut everything down if it crashes
    • [ ] sighup, etc.

more ...

bluejekyll avatar Jan 03 '20 09:01 bluejekyll