diff --git a/test/ex_cmd_exit_test.exs b/test/ex_cmd_exit_test.exs index 2024538..4662c33 100644 --- a/test/ex_cmd_exit_test.exs +++ b/test/ex_cmd_exit_test.exs @@ -11,6 +11,7 @@ defmodule ExCmdExitTest do ) port_info = Port.info(port) + IO.inspect(port_info) os_pid = port_info[:os_pid] on_exit(fn -> @@ -35,6 +36,8 @@ defmodule ExCmdExitTest do defp os_process_alive?(pid) do if windows?() do + IO.inspect(["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