Boost logo

Boost :

Subject: Re: [boost] [boost.process] 0.6 Redesign
From: Klemens Morgenstern (klemens.morgenstern_at_[hidden])
Date: 2016-04-18 15:40:37


Am 18.04.2016 um 20:53 schrieb Klaim - Joël Lamotte:
> On 18 April 2016 at 20:52, Klaim - Joël Lamotte <mjklaim_at_[hidden]> wrote:
>
>>
>> Anyway, for the termination problem:
>> https://github.com/klemens-morgenstern/boost-process/blob/develop/include/boost/process/detail/windows/terminate.hpp
>> There you use "boost::detail::winapi::TerminateProcess(p.process_handle(),
>> EXIT_FAILURE)"
>> Is it a terminate message or a "kill -9" kind of message on windows?
>>
>> Joël Lamotte
>>
>>
> I think I'll try to make a short version of the case we found problematic
> and provide it to you, it might help.
>
> Joël Lamotte
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>

The terminate is only invoked, if the user calls terminte explicitly.
 From my understanding it's an unconditional exit, so it would be
equivalent to kill -9. We have kill(pid, SIGKILL) on the posix side, so
this makes sense. I don't know if one could implement it any other way
without gettint to system-specific.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk