Caleb Cushing
02/28/2025, 8:09 PMBuildService
how should I be executing an external command? I need to start a non java server; and some way to send a sigint to it later to stop it.Vampire
02/28/2025, 11:22 PMProcess#destroy()
for example.
Arbitrary signals are not supported by Java afair unless maybe you use some native library,
or doing some platform specific external call that does it like invoking kill -SIGINT ...
Caleb Cushing
02/28/2025, 11:28 PMVampire
02/28/2025, 11:51 PMdestroy()
?
I don't think you can do that through Gradle-provided utilities but will just use `ProcessBuilder`then.Caleb Cushing
02/28/2025, 11:52 PMVampire
03/01/2025, 12:02 AMExecOperations
.Caleb Cushing
03/01/2025, 12:06 AMVampire
03/01/2025, 12:21 AMCaleb Cushing
03/01/2025, 2:13 PMCaleb Cushing
03/01/2025, 2:18 PMCaleb Cushing
03/01/2025, 2:21 PMCaleb Cushing
03/01/2025, 2:28 PMCaleb Cushing
03/01/2025, 2:41 PMVampire
03/02/2025, 12:57 AMVampire
03/02/2025, 12:58 AMVampire
03/02/2025, 12:58 AMCaleb Cushing
03/02/2025, 1:00 AMVampire
03/02/2025, 1:03 AMThomas Broyer
03/02/2025, 10:35 AMVampire
03/02/2025, 8:51 PMThomas Broyer
03/03/2025, 10:35 AMpodman system service
which IIUC turns podman from daemonless to daemonful like Docker, and can thus easily allow being rootful without turning to sudo
or a podman machine.