On 11/04/2015 03:17 PM, Jan Kandziora wrote:
In that case, your problem is not related to owfs, but to concurrent
writing/reading a file. If you read a simple text file which is written
by another process at the same time as you read it you get exactly the
same problem.
ok, that explains it.

Can I read the \0 with a python .read() command?

There is no way you can get around the concurrent access limitation file
have.


I recommend you to turn away from the owfs pseudofilesystem and use one
of the language bindings. Or exec() the "owput" and "owget" utilities
from python in conjunction with an owserver acting as the actual onewire
driver.
This problem forces me to do it the*right way* ;o)


------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to