Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22063

Poco - Killing process tree C++

$
0
0

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.


Viewing all articles
Browse latest Browse all 22063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>