diff --git a/python/bindings.cpp b/python/bindings.cpp index 0413798..788d79f 100644 --- a/python/bindings.cpp +++ b/python/bindings.cpp @@ -9,7 +9,7 @@ namespace py = pybind11; //--- for some reason this is a global defined in main.cpp -std::set pidsToWatch; +extern std::set pidsToWatch; //--- hacky way to get callbacks working and handle signals std::function empty_callback;