You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Writing to the same file from multiple processes is something to be avoided, unless proper file locking is employed.
I think it is then better to take some different function as an example as adding file locking can be overly complex.