简体   繁体   中英

Sending signals from child process to parent in WINDOWS

Ok question is simple. I create a child process in a parent process. They are communicating with pipeline but that is not important. I want to detect if my child process closed, interupted, or may be throw an exception. Basicaly i want to control my child process. But in search of 2 days i couldn't find any way to do it in WINDOWS and i am getting frustrated to google about getting same "linux" solutions. None of the solutions in stackoverflow, given below, works for me.

Send messages from child process to parent

How can I send messages (or signals) from a parent process to a child process and viceversa in Perl?

send signal from parent process to child in C

Sending signals between parent and child process

Windows没有Unix风格的过程控件(fork,wait,exec)或信令(signal,kill,procmask)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM