Skip to content
Snippets Groups Projects
Commit ffad468b authored by Brad King's avatar Brad King
Browse files

KWSys Process: Add OpenBSD process tree kill support

Patch from Chuck Atkins <chuck.atkins@kitware.com>
parent ed4d9cd5
No related branches found
No related tags found
No related merge requests found
......@@ -2374,7 +2374,7 @@ static pid_t kwsysProcessFork(kwsysProcess* cp,
corresponding parsing format string. The parsing format should
have two integers to store: the pid and then the ppid. */
#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) \
|| defined(__FreeBSD_kernel__)
|| defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
# define KWSYSPE_PS_COMMAND "ps axo pid,ppid"
# define KWSYSPE_PS_FORMAT "%d %d\n"
#elif defined(__hpux) || defined(__sun__) || defined(__sgi) || defined(_AIX) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment