-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
None
The bin/windup script needs to kill the Windup process that gets spawned by the bin/windup 'eval ...' statement. Both the windup.sh and windup.bat need to support this functionality.
The use case:
When Windup is ran in server mode using java, for example:
Process process = Runtime.getRuntime().exec("bin/windup", ... "--serverMode");
If you destroy the process, the process spawned by the bin/windup does not also get destroyed.
process.destroy(); // This does not kill the actual Windup process.
Examples of something similar to what we might need using 'trap' statement: