diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2022-07-18 22:24:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 22:24:35 +0200 |
commit | 2bebdc9116f0824f0eb6241445de6fb1925f4c15 (patch) | |
tree | 55b2dbe9f7022b7693165b75a97e26cef0c2eb9c /runtime/ops | |
parent | 9eb70bdb5fda8e66895e0e4cc1f356c2717f74c5 (diff) |
feat(unstable): Ability to ref/unref "Child" in "Deno.spawnChild()" API (#15151)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'runtime/ops')
-rw-r--r-- | runtime/ops/spawn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/spawn.rs b/runtime/ops/spawn.rs index a6930b485..b337f2488 100644 --- a/runtime/ops/spawn.rs +++ b/runtime/ops/spawn.rs @@ -76,7 +76,7 @@ pub struct ChildStatus { signal: Option<String>, } -impl TryFrom<std::process::ExitStatus> for ChildStatus { +impl TryFrom<ExitStatus> for ChildStatus { type Error = AnyError; fn try_from(status: ExitStatus) -> Result<Self, Self::Error> { |