jA_cOp has quit [Read error: Connection reset by peer]
jA_cOp has joined #racket
spdegabrielle has quit [Quit: Connection closed for inactivity]
skapata has quit [Remote host closed the connection]
<jA_cOp>
When reading from a port returned from subprocess, how can I wait until there's data available on the port? It looks `sync` and `read-bytes-evt` all immediately return eof, but I want to wait until there's something other than eof (from the stdout of a child process, in this case)
mdhughes_ is now known as mdhughes
Duns_Scrotus has quit [Ping timeout: 252 seconds]
Duns_Scrotus has joined #racket
dhil has joined #racket
skeemer has joined #racket
Tuplanolla has joined #racket
<shawnw>
Should just need to sync on the port.
skapata has joined #racket
dhil has quit [Ping timeout: 252 seconds]
dhil has joined #racket
svm has joined #racket
msv has quit [Ping timeout: 252 seconds]
Origin has joined #racket
svm has quit [Ping timeout: 265 seconds]
skeemer has quit [Ping timeout: 245 seconds]
skeemer has joined #racket
<jA_cOp>
shawnw: `sync` returns immediately, even though reading from the port just yields `eof`. With socket ports things work as expected, but I get the sense that Racket's pipe ports don't support this use case
dhil has quit [Ping timeout: 276 seconds]
fun-safe-math has joined #racket
fun-safe-math has quit []
fun-safe-math has joined #racket
macabro has quit [Remote host closed the connection]
skapata has quit [Remote host closed the connection]