Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subprocess example: Child process not closed during test #90

Open
loynoir opened this issue Jan 30, 2023 · 0 comments
Open

Subprocess example: Child process not closed during test #90

loynoir opened this issue Jan 30, 2023 · 0 comments
Labels
bug Something isn't working example

Comments

@loynoir
Copy link

loynoir commented Jan 30, 2023

https://deno.land/[email protected]/examples/subprocess

Deno.test("example", async () => {
  const cmd = ["echo", "hello"];

  // create subprocess
  const p = Deno.run({ cmd });

  // await its completion
  await p.status();
})
A child process (rid xxx) was started during the test, but not closed during the test. 
Close the child process by calling `proc.kill()` or `proc.close()`.
@crowlKats crowlKats transferred this issue from denoland/dotland Jan 30, 2023
@kwhinnery kwhinnery transferred this issue from denoland/manual Sep 15, 2023
@hashrock hashrock added bug Something isn't working example labels Sep 25, 2023
@hashrock hashrock changed the title Incorrect example Subprocess Example Issue: Child Process Not Closed During Test Sep 25, 2023
@hashrock hashrock changed the title Subprocess Example Issue: Child Process Not Closed During Test Subprocess example: Child process not closed during test Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working example
Projects
None yet
Development

No branches or pull requests

2 participants