~/vis/test:$ cat test.scm (define p (open-process (list path: "gdb" arguments: '("--interpreter=mi2"))))
(pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p)) (pp (read-line p))
... why does this block? and how can I make it non-blocking? I've searched through the gambit-c.txt file, but I can't find ways of manipulating it either during reading or the port itself
Afficher les réponses par date