Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4909

General discussion • Re: Issue with 2 python scripts running simultaneously

$
0
0
I cannot give any idea why this is happening but if "File2" attempts to process and delete a file currently being recorded by "File1", that would cause problems. I would suggest that whenever "File1" has completed a recording, that recording is moved to a different directory/folder which is checked by "File2" to prevent both scripts working on the same file.

Statistics: Posted by NotRequired — Wed Apr 24, 2024 5:42 pm



Viewing all articles
Browse latest Browse all 4909

Trending Articles