Nodes started by gradle task are not stopped when the gradle task exits.

Description

When I start for example the demo nodes for the node explorer with `./gradlew tools:explorer:runDemoNodes` and later terminate the gradle task with CTRL-C, the java processes of the nodes keep running.

This is counter-intuitive, I would have assumed that the processes nodes are terminated as well. It's problematic because the processes are not exactly light-weight.
This behaviour differs by OS, on Windows & Mac it's apparently not an issue.

I talked to , he agreed to my suggestion that adding a shutDownHook that terminates the Processes created by DriverDSLImplementation.startOutOfProcessNode might be a good idea.

Assignee

Florian Friemel

Reporter

Florian Friemel

Labels

None

Sprint

None

Epic Link

None

Priority

Low

Severity

Medium

CVSS Score

None

CVSS Vector

None

Due Date

None

Engineering Teams

None

Fix versions

Affects versions

None

Ported to...

None

Story Points / Dev Days

None
Configure