Skip to contents

A same-process-tree safety check, not a strong guarantee – just enough to refuse to touch a process that plainly isn't ours before deck_serve()'s force = TRUE or deck_stop_server()'s port =/host = form ever kill anything found by port alone rather than by a processx handle this session actually holds.

Usage

.pid_looks_like_deckifyr_server(pid)

Arguments

pid

A single PID.

Value

TRUE/FALSE (FALSE if the PID doesn't exist any more).