Skip to content

Commit

Permalink
Adapt GAP_ExecuteProcess signature (#1131)
Browse files Browse the repository at this point in the history
to pass tests in `testinstall/kernel/streams.tst`
  • Loading branch information
lgoettgens authored Jan 28, 2025
1 parent ea0cda4 commit 2878f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exec.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Replacement for the GAP kernel function ExecuteProcess
const use_orig_ExecuteProcess = Ref{Bool}(true)
function GAP_ExecuteProcess(dir::GapObj, prg::GapObj, in::Int, out::Int, args::GapObj)
function GAP_ExecuteProcess(dir::GAP.Obj, prg::GAP.Obj, in::GAP.Obj, out::GAP.Obj, args::GAP.Obj)
if use_orig_ExecuteProcess[]
return GAP.Globals._ORIG_ExecuteProcess(dir, prg, in, out, args)
end
return GAP_ExecuteProcess(String(dir), String(prg), in, out, Vector{String}(args))
return GAP_ExecuteProcess(String(dir), String(prg), Int(in), Int(out), Vector{String}(args))
end

function GAP_ExecuteProcess(dir::String, prg::String, fin::Int, fout::Int, args::Vector{String})
Expand Down

0 comments on commit 2878f43

Please sign in to comment.