Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove todo about replacing invalid spawn handle erroor
  • Loading branch information
oxinabox committed Mar 27, 2019
1 parent 41e4940 commit d832fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/process.jl
Expand Up @@ -381,7 +381,7 @@ const SpawnIOs = Vector{Any} # convenience name for readability
h === C_NULL ? (0x00, UInt(0)) :
h isa OS_HANDLE ? (0x02, UInt(cconvert(@static(Sys.iswindows() ? Ptr{Cvoid} : Cint), h))) :
h isa Ptr{Cvoid} ? (0x04, UInt(h)) :
error("invalid spawn handle $h from $io") #TODO use a real error type here
error("invalid spawn handle $h from $io")
end
for io in stdio]
handle = Libc.malloc(_sizeof_uv_process)
Expand Down

0 comments on commit d832fe0

Please sign in to comment.