Closed
Description
test/repl.jl
was added in #6955, most of the file is @unix_only
at the moment except a few lines at the very end. These lines are freezing for me on Windows, but they're using process commands that you'd think should work.
| | |_| | | | (_| | | Version 0.3.0-prerelease+3381 (2014-06-02 13:19 UTC)
_/ |\__'_|_|_|\__'_| | Commit ddf4197* (0 days old master)
|__/ | x86_64-w64-mingw32
julia> exename = joinpath(JULIA_HOME, "julia")
"D:\\code\\msys64\\home\\Tony\\julia\\usr\\bin\\julia"
julia> outs, ins, p = readandwrite(`$exename -f --quiet`)
(Pipe(active, 0 bytes waiting),Pipe(open, 0 bytes waiting),Process(`'D:\code\msy
s64\home\Tony\julia\usr\bin\julia' -f --quiet`, ProcessRunning))
julia> write(ins,"1\nquit()\n")
9
julia> ins
Pipe(open, 0 bytes waiting)
julia> outs
Pipe(active, 2 bytes waiting)
julia> readall(outs)
This last command never exits, I have to manually kill the julia process(es).
exename = joinpath(JULIA_HOME, "julia")
outs, ins, p = readandwrite(`$exename -f --quiet`)
write(ins,"1\nquit()\n")
readall(outs)