How to check if a pid is currently running?

I don’t see one on the documentation, but you might try calling uv_kill directly with

julia> @ccall uv_kill(43181::Cint, 0::Cint)::Cint
0

julia> @ccall uv_kill(43182::Cint, 0::Cint)::Cint
-3

Documentation says it might work on Windows, worth a test!

Edit: Oops, sniped!

2 Likes