asampat Posted May 25, 2010 Share Posted May 25, 2010 Hello, I am trying to use proc_terminate() and proc_get_status() on a Windows Server 2008 system to terminate an exe started by proc_open() and have a couple of questions regarding these functions: 1. Does proc_terminate() send a SIGTERM signal to the Windows (child) process launched by proc_open()? I want to be able to catch the SIGTERM signal in my process so that I can shut it down cleanly. Based on my reading of the documentation, it seems that on Windows, no signal is sent to the process. Is this true? 2. The documentation for proc_get_status() says that the status parameters 'signaled' and 'stopped' are always set to FALSE on Windows. Again, does this mean that no signal is ever sent by proc_terminate() to the child process? Any help on clarifying this for me would be greatly appreciated. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/202870-proc_terminate-and-proc_get_status-on-windows/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.