0

I have python process (running on linux) was listen to directory.

Another process (running on Windows), write files to the same directory which the linux python process listen to.

I want to handle file only when if the file done being written to.

I'm trying to suggesting from Need a way to determine if a file is done being written to.

Trying also to open the file with w mode, Trying to check the date modified of the file periodically but in linux it's changed only when the file is finish to write (and I don't know like that if the file still writting or it's done).

All of that I have been tried is failed and i'm not able to know if the the windows process finish to write the file into the directory.

NOTE: I don't have the source code of the windows process - blackbox.

How can I solve it?

Mar Teen
  • 87
  • 1
  • 11

0 Answers0