|
|
@ -9,6 +9,9 @@ |
|
|
|
@license LGPL, see file <a href="license.html">COPYING</a> |
|
|
|
@license LGPL, see file <a href="license.html">COPYING</a> |
|
|
|
|
|
|
|
|
|
|
|
$Log$ |
|
|
|
$Log$ |
|
|
|
|
|
|
|
Revision 1.13 2005/04/20 18:32:14 marc |
|
|
|
|
|
|
|
*** empty log message *** |
|
|
|
|
|
|
|
|
|
|
|
Revision 1.12 2005/04/20 18:12:55 marc |
|
|
|
Revision 1.12 2005/04/20 18:12:55 marc |
|
|
|
added kill() for PartialExec |
|
|
|
added kill() for PartialExec |
|
|
|
|
|
|
|
|
|
|
@ -535,12 +538,12 @@ std::pair<std::string, std::string> |
|
|
|
|
|
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
mrw::PartialExec& mrw::PartialExec::terminate() throw() { |
|
|
|
mrw::PartialExec& mrw::PartialExec::terminate() throw() { |
|
|
|
kill(_pid, SIGTERM); |
|
|
|
::kill(_pid, SIGTERM); |
|
|
|
return *this; |
|
|
|
return *this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
mrw::PartialExec& mrw::PartialExec::kill() throw() { |
|
|
|
mrw::PartialExec& mrw::PartialExec::kill() throw() { |
|
|
|
kill(_pid, SIGKILL); |
|
|
|
::kill(_pid, SIGKILL); |
|
|
|
return *this; |
|
|
|
return *this; |
|
|
|
} |
|
|
|
} |
|
|
|