is it possible to check whether file is being used by another process?
I am using overwolf.io.writeFileContents
Did you try to call this function on a file and got some error? Can you attach the error?
The API doesn’t have a dedicated function OOTB to check it if that’s what you mean.
You can do that with a plugin.
Thanks.
I use overwolf.io.writeFileContents
and the function returns a very descriptive error if you try to write to a file that’s locked by another process:
{"success":false,"status":"error","reason":"The process cannot access the file '[filepath_to_file]' because it is being used by another process."}
1 Like