I think the answer to your problem might be in the "Avoiding Deadlock in Pipelines" section in the "Running External Programs" page:
http://docs.julialang.org/en/release-0.4/manual/running-external-programs/#avoiding-deadlock-in-pipelines I've been experimenting to try to get something to work without success. The *writeall()* function used in that section of the documentation doesn't exist. I was hoping to be able to use *IOBuffer()* or *IOStream() *variables to provide input and capture output and stderr for external programs.