mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-23 06:50:45 -06:00
debug
This commit is contained in:
parent
a5668d426d
commit
0aecfb2a3c
1 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue