# A conundrum with exec node and kill

**URL:** https://discourse.nodered.org/t/a-conundrum-with-exec-node-and-kill/27981
**Category:** General
**Created:** [8 June 2020 09:11 UTC](https://discourse.nodered.org/t/a-conundrum-with-exec-node-and-kill/27981 "2020-06-08T09:11:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [8 June 2020 10:14 UTC](https://discourse.nodered.org/t/a-conundrum-with-exec-node-and-kill/27981/2 "2020-06-08T10:14:52Z")

</div>

Is this windows?

Perhaps it a similar situation where a child process is spawned & you need to send a negative PID (mentioned in a similar topic just recently regarding VLC)

In windows task manager I see...

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/6/163ba2c3303addbb19f66f9ad3998a025b3788be.png)

### EDIT

tried minus pid - didnt kill sleep.exe on windows.  
Also noted, windows generates a cmd.exe (thats the pid status shown) and a sleep.exe process. Even if you kill cmd.exe (in taskman), sleep.exe continues to run.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/d/4da4d63b63b72821e6444d328ab180e259cb2cf0.png)

---

_[View the full topic](https://discourse.nodered.org/t/a-conundrum-with-exec-node-and-kill/27981)._
