apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonia Tugores <atugo...@gridsystems.com>
Subject Trouble killing a process
Date Wed, 12 Dec 2007 09:35:14 GMT

Hi all,

I'm having some troubles killing a process (and its subprocesses).
The process type is APR_SHELLCMD_ENV, and when I call the apr_proc_kill with 
the signal SIGABRT (with SIGKILL the results are the same), the parent 
process (sh) dies but the child (sleep) doesn't.

main_program
  /bin/sh -c ./"sleep.sh" 1 1 100  <---- dies
    ./sleep.sh 1 1 100                 <---- remains

How can I kill the process and its subprocesses?

Thank you in advance

Antonia

Mime
View raw message