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. --- runtime/js/90_deno_ns.js | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/js/90_deno_ns.js') diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index cd6c07464..e3ccf1b6f 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -144,6 +144,7 @@ funlock: __bootstrap.fs.funlock, funlockSync: __bootstrap.fs.funlockSync, Child: __bootstrap.spawn.Child, + ChildProcess: __bootstrap.spawn.ChildProcess, spawnChild: __bootstrap.spawn.spawnChild, spawn: __bootstrap.spawn.spawn, spawnSync: __bootstrap.spawn.spawnSync, -- cgit v1.2.3