Skip to content

Commit

Permalink
devenv processes stop: print PID
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Oct 31, 2023
1 parent 114770b commit dbcacb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/devenv/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ def stop():
with open(PROCESSES_PID, "r") as file:
pid = int(file.read())

log(f"Stopping process with PID {pid} ...", level="info")

try:
os.kill(pid, signal.SIGTERM)
except ProcessLookupError:
Expand Down

0 comments on commit dbcacb9

Please sign in to comment.