JuliaLang/julia — Issue #328: writing to processes
Author: JeffBezanson
Created: 2012-01-05 03:53:06+00:00
State: open
Labels: bugs

```
cmd=`cat`
s=fdio(write_to(cmd).fd,true)
spawn(cmd)
write(s,"a\n")
close(s)
wait(cmd)
```

The `wait` here hangs.

Also, the following does not seem to work, but I'm not sure it's supposed to be fully supported yet:

```
julia> run(Cmd(()->println("foo\nbar")) | `sort`)
foo
bar
```