is there an example of using Process.run and reading stdout of the process? having trouble using it with `output:` and `IO::Memory.new`
also is there a way to do full streaming I/O from the process. I don't want to read the entire stdout once the process has exited, but read it as output is received.
ur5us has joined #crystal-lang
ejjfunky has joined #crystal-lang
<Blacksmoke16> postmodern: read std while the process is running, or to STDOUT, or to some other io?
<Blacksmoke16> because if you the block version of `.run`, you can have access to it while its running, or when using the non block version can set `output: :inherit` to use IO of parent process (stdout), or to an `IO` instance
<Blacksmoke16> ah based on your 2nd line, sounds like you want the block version
ejjfunky2 has joined #crystal-lang
ejjfunky has quit [Ping timeout: 240 seconds]
i kind of wish Process had a .popen method that made this task easier to do in one method call
<Blacksmoke16> Got an example of what you want to do?