From ee40ed9a5fb254a924d259b6d18446b877eeb059 Mon Sep 17 00:00:00 2001 From: akash-akya Date: Fri, 21 Jun 2024 16:17:08 +0530 Subject: [PATCH] add dbg --- test/ex_cmd_exit_test.exs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/ex_cmd_exit_test.exs b/test/ex_cmd_exit_test.exs index 2024538..de8ac1c 100644 --- a/test/ex_cmd_exit_test.exs +++ b/test/ex_cmd_exit_test.exs @@ -35,6 +35,8 @@ defmodule ExCmdExitTest do defp os_process_alive?(pid) do if windows?() do + dbg(["tasklist", "/fi", "pid eq #{pid}"]) + case cmd(["tasklist", "/fi", "pid eq #{pid}"]) do {"INFO: No tasks are running which match the specified criteria.\r\n", 0} -> false {_, 0} -> true