This commit is contained in:
Daylin Morgan 2024-09-05 11:14:24 -05:00
parent a5668d426d
commit 0aecfb2a3c
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -39,12 +39,15 @@ proc runCmdCapt*(cmd: string): tuple[stdout, stderr: string, exitCode: int] =
# inc cnt # inc cnt
echo "process should have started?" echo "process should have started?"
echo p.running, "<--running?" echo p.running, "<--running?"
p.resume
# result = (
# readAll outstrm,
# readAll errstrm,
# -1,
# )
echo "is this not reached?"
echo result
close p close p
result = (
readAll outstrm,
readAll errstrm,
-1,
)
# result.exitCode = waitForExit p # result.exitCode = waitForExit p
# close p # close p