my code need to run in windows and linux.
I'm using Poco library for it.
Poco::Process::kill()
only kill the process without it's childs.
(If the process opened another process)
For example I'm running a script that open notepad in windows/ open bc in linux.
I saw that the id poco::process has it's the script process id.
Is there a way with poco to do it or a way that will work with both Os?
Thanks.