summaryrefslogtreecommitdiff
path: root/runtime/js/40_spawn.js
AgeCommit message (Collapse)Author
2022-07-22fix: Child.unref() unrefs stdio streams properly (#15275)Bartek Iwańczuk
2022-07-18feat(unstable): Ability to ref/unref "Child" in "Deno.spawnChild()" API (#15151)Leo Kettmeir
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
2022-07-18BREAKING(unstable): Improve Deno.spawn() stdio API (#14919)Nayeem Rahman
- "SpawnOutput" extends "ChildStatus" instead of composing it - "SpawnOutput::stdout", "SpawnOutput::stderr", "Child::stdin", "Child::stdout" and "Child::stderr" are no longer optional, instead made them getters that throw at runtime if that stream wasn't set to "piped". - Remove the complicated "<T extends SpawnOptions = SpawnOptions>" which we currently need to give proper type hints for the availability of these fields. Their typings for these would get increasingly complex if it became dependent on more options (e.g. "SpawnOptions::pty" which if set should make the stdio streams unavailable)
2022-05-19feat: make Child.kill argument optional (#14669)Leo Kettmeir
2022-05-18refactor: use spawn API across codebase (#14414)Leo Kettmeir
2022-05-11feat(runtime/spawn): add `AbortSignal` support (#14538)Leo Kettmeir
2022-04-24fix(runtime/js/spawn): Pass stdio options for spawn() and spawnSync() (#14358)Nayeem Rahman
2022-04-21feat(runtime): two-tier subprocess API (#11618)Leo Kettmeir