load apps contexts into memory from a JSON file

This commit is contained in:
loki
2019-12-15 14:30:00 +01:00
parent d17f37db12
commit 8b56122542
7 changed files with 116 additions and 29 deletions

View File

@@ -85,7 +85,7 @@ std::string get_local_ip(int family) {
std::string get_local_ip() { return get_local_ip(AF_INET); }
void interrupt_process(std::uint64_t handle) {
kill((pid_t)handle, SIGTERM);
kill((pid_t)handle, SIGINT);
}
struct display_attr_t {