Skip to content

Commit

Permalink
Adapt to new Process API.
Browse files Browse the repository at this point in the history
  • Loading branch information
hessammehr committed Aug 21, 2018
1 parent 3c216b0 commit 5d10419
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/WinRPM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,10 @@ function do_install(package::Package)

local err = nothing
for cmd = [`$exe7z x -y $path2 -o$cache`, `$exe7z x -y $cpio -o$installdir`]
(out, pc) = open(cmd, "r")
proc = open(cmd, "r")
out, pc = proc.out, proc.exitcode
stdoutstr = read(out, String)
if !success(pc)
if !success(proc)
wait_close(out)
println(stdoutstr)
err = pc
Expand Down

0 comments on commit 5d10419

Please sign in to comment.