zTrix/zio

figure out why zio doesn't work in interactive python env

zTrix opened this issue · 3 comments

figure out why zio doesn't work in interactive python env
from zio import *
io = zio('echo 123')
print io.read()

run this in interactive mode, for example in ipython, it will print out nothing. figure out why?

Can't reproduce

In [1]: from zio import *

In [2]: io = zio('echo 123')

In [3]: print io.read()
123
123

arch:
In [1]: from zio import *

In [2]: io = zio('echo 123')

In [3]: print io.read()
123
123

Mac:
In [1]: from zio import *

In [2]: io = zio('echo 123')

In [3]: print io.read()