在WINDOWS中将子进程的信号发送到父进程

时间:2016-04-13 09:39:49

标签: c++ windows signals

好的问题很简单。我在父进程中创建子进程。他们正在与管道沟通,但这并不重要。我想检测我的孩子是否关闭,中断,或者可能抛出异常。 Basicaly我想控制我的孩子过程。但是在寻找2天的时间里,我无法在WINDOWS中找到任何方法,而且我对谷歌有关获得相同的内容感到沮丧" linux"解决方案。下面给出的stackoverflow中的所有解决方案都不适用于我。

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

1 个答案:

答案 0 :(得分:0)

Windows没有unix样式进程控制(fork,wait,exec)或信令(signal,kill,procmask)。

相关问题