I would like to be able to issue a command-line that would close an open PasswordSafe. That is not to kill the running process but get the process to close the open safe file. It might be simpler to have the command close all open safes in all running instances. Identifying an individual safe across several instances might be tricky.
Ideally this would be on Windows or Windows and Linux but life is not always simple and we don't always get what we want!