From 1dd4843b62085a2aeb3134573adf9a7c47c154e2 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Mon, 28 Nov 2022 12:33:51 +0100 Subject: feat(unstable): rework Deno.Command (#16812) Refactors the `Deno.Command` class to not handle any state, but only being an intermediary to calling its methods, and as such any methods and properties besides `output`, `outputSync` & `spawn` have been removed. Interracting with a `spawn`ed subprocess now works by using the methods and properties on the returned class of the `spawn` method. --- cli/tsc/diagnostics.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/tsc/diagnostics.rs') diff --git a/cli/tsc/diagnostics.rs b/cli/tsc/diagnostics.rs index 05502dca4..4413398c2 100644 --- a/cli/tsc/diagnostics.rs +++ b/cli/tsc/diagnostics.rs @@ -31,6 +31,7 @@ const UNSTABLE_DENO_PROPS: &[&str] = &[ "umask", "spawnChild", "Child", + "ChildProcess", "spawn", "spawnSync", "SpawnOptions", -- cgit v1.2.3