wasmCloud/wash

[BUG] Unsuccessful exit when using `wash up --disable-wadm`

Iceber opened this issue · 0 comments

Describe the bug
A clear and concise description of what the bug is.

I use wash up --disable-wadm to start washcloud.
when I use ctrl-c to exit the program, it fails because --disable-wadm does not create the wadm process and the wadm.pid file, and removing the pidfile on exit will cause it to fail

To Reproduce
Steps to reproduce the behavior:

  1. Run command 'wash up --disable-wadm'
  2. . Run other command 'ctrl-c'
  3. . See error
10:17:02.302 [info] Access WasmcloudHostWeb.Endpoint at http://localhost:4000

^C>>> ⢀⠀

No such file or directory (os error 2)

Expected behavior
A clear and concise description of what you expected to happen.

wash up exits successfully when it receives ctrl-c

Screenshots
If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information) **

  • OS: [e.g. Linux, MacOS] MacOS
  • Shell [e.g. bash, zsh, powershell] zsh
  • wash Version [e.g. 0.2.0] 0.18.0

Additional context
Add any other context about the problem here.