diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2022-11-28 12:33:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 12:33:51 +0100 |
commit | 1dd4843b62085a2aeb3134573adf9a7c47c154e2 (patch) | |
tree | 534a7b210655530ffce89b3c124690330867f8bc /runtime/js/90_deno_ns.js | |
parent | fb04e87387e04053bf41a1512b4850adf62202c6 (diff) |
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.
Diffstat (limited to 'runtime/js/90_deno_ns.js')
-rw-r--r-- | runtime/js/90_deno_ns.js | 1 |
1 files changed, 1 insertions, 0 deletions
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, |