background-process icon indicating copy to clipboard operation
background-process copied to clipboard

posix_getpgid ( $this->pid ) instead of shell_exec(sprintf('ps %d 2>&1', $this->pid))

Open mrdonthave opened this issue 7 years ago • 0 comments

many shared hosters allow exec commands and we can use your library. but some of them has no access to "ps". so maybe it would be more compatible to check if running via posix_getpgid?

mrdonthave avatar Feb 18 '19 00:02 mrdonthave