It will be very usefull, if there will be ability to kill started subprocess after receiving new payload.
For example, I want to start endless process on receiving payload1 and I want to interrupt it on receiving payload2.
It hard enough to do it via compiling new executable which will get proccess id of the old one and kill it, while save subprocess id in order to kill it from parent program would be more 'natural'.
It will be very usefull, if there will be ability to kill started subprocess after receiving new payload.
For example, I want to start endless process on receiving payload1 and I want to interrupt it on receiving payload2.
It hard enough to do it via compiling new executable which will get proccess id of the old one and kill it, while save subprocess id in order to kill it from parent program would be more 'natural'.