Closed dreamcat4 closed 3 years ago
This would break KDocker as it would be unable to receive signals intended for itself. All processes KDocker manages has their own PID and any signals need to be sent directly to the application itself. You need tow work with raysession to have it pass the signal to the Spotify process and not KDocker.
nevermind - just discovered that it seems to work for SIGTERM...
[EDIT] oh wait no, it never worked. i seem to have multiple clones of spotify apps running with no GUI or interface anymore. hehe
Situation:
raysession
manages the opening and closing of other audio appskdocker spotify
kdocker
knows and is managing spotify appraysession
closes app by sending:SIG-anything
to kdocker. Because spotify program was launched askdocker
Desired outcome:
kdocker
accepts posix signal, but also passes it on to spotify appActual result:
spotify
app never received posix signalTherefore spotify remains open, after being asked to close. And after
kdocker
itself has exited. There seems no options within kdocker to control this behaviour... It just needs to pass on the posix signal to the client. Being a spawned process that it had originally launched earlier on