Open johnwebbcole opened 7 years ago
You would need to add the option to the fuge config project. Should be pretty simple, would be great if you could send me a PR on both repos!
Still using fuge a lot! And still would like to get this feature. The config side looks pretty easy, but the kill side has a wrapper that hard codes the signal, and the wrapper stop
is used throughout. What's the preferred way to add parameters?
I have a process that spawns several ssh tunnels using
shelljs.exec
. The process will cleanup everything on SIGINT, but fuge is killing with SIGKILL, and you cannot open a handler on SIGKILL.It wold be nice to have an option to set the kill signal on the process, that defaults to SIGKILL.
Looking over the runner code, it looks like it wouldn't be hard to add the option. I haven't looked at the option code yet so I don't know how hard adding those would be.