Commit graph

7 commits

Author SHA1 Message Date
6c759e57cc fix(runtime): set fg pgrp in all children
Before there was a race condition, where it relied on the scheduler
running the first child first.
2022-10-10 20:32:09 +00:00
f0e15804b4 refactor(runtime): don't use From<ref>
"the great thing about From is that you can from into from into from
into from into and it's still the same. don't do that"

Acked-by: cpli
2022-10-10 17:52:16 +00:00
fe3d05d36b fix(runtime): reset signal handlers in children
Ignored signals do not get reset on exec.
This allows children to properly suspend when needed.
2022-10-01 13:29:15 +00:00
c1881bb7b2 feat(runtime): kill existing processes on error 2022-09-25 12:36:08 +00:00
924a7462bd fix(runtime): grab terminal even if error occured 2022-09-25 12:36:08 +00:00
f0698457ed feat(runtime): set foreground job properly 2022-09-25 12:36:08 +00:00
0bfa8b3c8f feat(runtime): add basic runtime 2022-09-24 12:42:59 +00:00