summaryrefslogtreecommitdiff
path: root/cli/tests/unit/spawn_test.ts
AgeCommit message (Collapse)Author
2022-12-09unstable: remove Deno.spawn, Deno.spawnSync, Deno.spawnChild APIs (#16893)Bartek Iwańczuk
This commit removes three unstable Deno APIs: - "Deno.spawn()" - "Deno.spawnSync()" - "Deno.spawnChild()" These APIs were replaced by a unified "Deno.Command" API.
2022-10-29fix(core): fix APIs not to be affected by `Promise.prototype.then` ↵Kenta Moriuchi
modification (#16326)
2022-10-17feat(unstable): add windowsRawArguments to SpawnOptions (#16319)Yoshiya Hinosawa
This change adds `windowsRawArguments` to `SpawnOptions`. The option enables skipping the default quoting and escaping while creating the command on windows. The option works in a similar way as `windowsVerbatimArguments` in child_process.spawn options in Node.js, and is necessary for simulating it in `std/node`. closes #8852
2022-08-24fix(unstable): finish HTTP response for 205 and 304 responses (#15584)Bartek Iwańczuk
This commit fixes "Deno.serve()" API by making sure that 205 and 304 responses end with "\r\n\r\n".
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-25chore: upgrade test_util/std/ submodule (#14722)Bartek Iwańczuk
2022-05-19feat: make Child.kill argument optional (#14669)Leo Kettmeir
2022-05-18 feat: return a signal string instead number on ChildStatus (#14643)Leo Kettmeir
2022-05-11feat(runtime/spawn): add `AbortSignal` support (#14538)Leo Kettmeir