bfitzpat commented on issue #938: Kamel cli should send exit code when 
integration in --dev mode is deleted
URL: https://github.com/apache/camel-k/issues/938#issuecomment-532797549
 
 
   I eventually found a way round it. It turned out that the node.js child 
process "exec" call was creating a process and a sub process every time I 
invoked a --dev integration, so I could kill one process but the subprocess was 
just hanging around like the undead. I've moved to using the child process 
"spawn" call and now it behaves better. I can kill the process and it's truly 
dead. 
   
   Would still like to get some kind of relationship between the "delete" call 
in the cli and a running --dev mode integration so they know about one another. 
But at least in the tooling I have a way to simulate that good old "ctrl+c" in 
the console and it works. :) 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to