Good news everyone,
I’ve just debugged my problem : module A was writing to directory Kurwa and module B was reading from directory kurwa, so naturally it worked on Windows 11 but it didn’t work on Linux , as on Linux these are 2 different directories
So lesson learned: if you create multi platform scripts or programs, please first test them on Windows 11 not Linux