From 0aecfb2a3c584d82d0e41e4c60e73cd013c9826e Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 5 Sep 2024 11:14:24 -0500 Subject: [PATCH] debug --- pkgs/oizys-nim/src/oizys/exec.nim | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/oizys-nim/src/oizys/exec.nim b/pkgs/oizys-nim/src/oizys/exec.nim index 8dbdbc8..571b26f 100644 --- a/pkgs/oizys-nim/src/oizys/exec.nim +++ b/pkgs/oizys-nim/src/oizys/exec.nim @@ -39,12 +39,15 @@ proc runCmdCapt*(cmd: string): tuple[stdout, stderr: string, exitCode: int] = # inc cnt echo "process should have started?" echo p.running, "<--running?" + p.resume + # result = ( + # readAll outstrm, + # readAll errstrm, + # -1, + # ) + echo "is this not reached?" + echo result close p - result = ( - readAll outstrm, - readAll errstrm, - -1, - ) # result.exitCode = waitForExit p # close p