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

KWSys: Process tree kill for Solaris

parent 335447fb
No related branches found
No related tags found
No related merge requests found
...@@ -2377,6 +2377,9 @@ static pid_t kwsysProcessFork(kwsysProcess* cp, ...@@ -2377,6 +2377,9 @@ static pid_t kwsysProcessFork(kwsysProcess* cp,
|| defined(__OpenBSD__) || defined(__GLIBC__) || defined(__GNU__) || defined(__OpenBSD__) || defined(__GLIBC__) || defined(__GNU__)
# define KWSYSPE_PS_COMMAND "ps axo pid,ppid" # define KWSYSPE_PS_COMMAND "ps axo pid,ppid"
# define KWSYSPE_PS_FORMAT "%d %d\n" # define KWSYSPE_PS_FORMAT "%d %d\n"
#elif defined(__sun) && (defined(__SVR4) || defined(__svr4__)) /* Solaris */
# define KWSYSPE_PS_COMMAND "ps -e -o pid,ppid"
# define KWSYSPE_PS_FORMAT "%d %d\n"
#elif defined(__hpux) || defined(__sun__) || defined(__sgi) || defined(_AIX) \ #elif defined(__hpux) || defined(__sun__) || defined(__sgi) || defined(_AIX) \
|| defined(__sparc) || defined(__sparc)
# define KWSYSPE_PS_COMMAND "ps -ef" # define KWSYSPE_PS_COMMAND "ps -ef"
......
...@@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2010) ...@@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2010)
SET(KWSYS_DATE_STAMP_MONTH 06) SET(KWSYS_DATE_STAMP_MONTH 06)
# KWSys version date day component. Format is DD. # KWSys version date day component. Format is DD.
SET(KWSYS_DATE_STAMP_DAY 10) SET(KWSYS_DATE_STAMP_DAY 11)
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