Skip to content

Commit

Permalink
refactor: process handling (#8113)
Browse files Browse the repository at this point in the history
Refactor process handling. This is has two purposes:

* Simplify the implementation and make it easier to follow
* Prepare it for making it friendly for action runners

At a high level, the refactoring does the following:

* Introduce a type for a running process [Process.t]
* Introduce a type for the result of running a process
  [Process.Result.t]
* Introduce a type for handling stdout/stderr without accidentally
  forgetting to clean it up or reading it after they've been deleted.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
  • Loading branch information
rgrinberg authored Jul 12, 2023
1 parent 7669c17 commit a0145b2
Showing 1 changed file with 219 additions and 155 deletions.
Loading

0 comments on commit a0145b2

Please sign in to comment.