summaryrefslogtreecommitdiff
path: root/cli/tests/unit/process_test.ts
AgeCommit message (Collapse)Author
2023-01-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-06-25fix(core): don't panic on non-existent cwd (#14957)Divy Srivastava
Co-authored-by: cjihrig <cjihrig@gmail.com>
2022-05-15Revert "refactor(runtime): change from signal_str_to_int function to enum ↵Leo Kettmeir
(#14539)" (#14606) This reverts commit c496639d5dc190b107222bc30462d67ddb86c223.
2022-05-14refactor(runtime): change from signal_str_to_int function to enum (#14539)Leo Kettmeir
2022-04-21feat(runtime): two-tier subprocess API (#11618)Leo Kettmeir
2022-03-25fix: `Deno.run` - do not modify user provided `cmd` array (#14109)David Sherret
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2021-11-23refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)Bartek Iwańczuk
2021-10-10feat: Stabilize Deno.kill and Deno.Process.kill (#12375)Ryan Dahl
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-10-07fix(runtime): don't equate SIGINT to SIGKILL on Windows (#12356)Bert Belder
2021-09-27fix: subprocess kill support on windows (#12134)Luca Casonato
2021-09-23test(cli): align unit test permissions with runtime test permissions (#12189)Casper Beyer
2021-09-13feat(unstable): allow specifing gid and uid for subprocess (#11586)Leo K
2021-09-07fix: remove windows-only panic when calling `Deno.kill` (#11948)David Sherret
2021-09-06BREAKING(unstable): Remove Deno.Signals enum, Deno.signals.* (#11909)Ryan Dahl
2021-08-05refactor(cli/tests): remove unnecessary void return types (#11577)Leo K
2021-08-04feat(unstable): clean environmental variables for subprocess (#11571)Leo K
This commit adds "Deno.RunOptions.clearEnv" option, that allows to clear environmental variables from parent process before spawning a subprocess.
2021-01-14refactor: make Process#kill() throw sensible errors on Windows (#9111)Bert Belder
Previously, calling `Process#kill()` after the process had exited would sometimes throw a `TypeError` on Windows. After this patch, it will throw `NotFound` instead, just like other platforms. This patch also fixes flakiness of the `runKillAfterStatus` test on Windows.
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2020-12-21refactor: rewrite process_test.ts to use deno instead of python (#8841)Liam Murphy
Rewrites all the subprocess python scripts to be Deno scripts.
2020-10-26rename(std/testing): rename assert*Contains to assert*Includes (#7951)Tim Reichen
This commit renames two assertion functions to better align with JS API: - assertStringContains -> assertStringIncludes - assertArrayContains -> assertArrayIncludes
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-09fix: panic on process.kill() after run (#7405)Bartek Iwańczuk
This commit fixes panic caused by "unimplemented!()" calls for some variants of "nix::errno::Errno". Catch-all variant now returns "Error" class name instead of panicking. Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-08-12feat: Support file URLs in Deno.run for executable (#6994)Nayeem Rahman
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-06-25remove duplicate identifier (#6483)Ali Hasani
2020-06-25fix: panic when process stdio rid is 0 or invalid (#6405)Luca Casonato
2020-06-25refactor(cli/tests/unit) to use assertThrows (#6459)Casper Beyer
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-06-10fix(cli/js/process): Always return a code in ProcessStatus (#5244)Nayeem Rahman
2020-06-09fix(cli/js/process): Strengthen socket types based on pipes (#4836)Nayeem Rahman
2020-06-05Rename abbreviated assertions in std/testing (#6118)Casper Beyer
2020-05-20move js unit tests to cli/tests (#5678)Ryan Dahl