Closed XanClic closed 6 years ago
I’m closing this issue after more deliberation. Being in one-shot mode would mean that every time a query is sent, the following would happen:
That is all a bit too much and it seems clear that this is not how things are supposed to work. It’s not like krunner can launch the script, pass the query through the command line and receive the respone over stdout; the whole D-Bus concept basically implies that the plugin process is supposed to stay resident.
It’s probably the better idea to keep the service resident, but maybe it is easy enough to adjust the .desktop file so that the plugin is launched by krunner on every query and let the script itself exit once a response has been sent. (Originally suggested in issue #1.)