Jump to content
  • 0

How to delete files with a program run through MO?


Question

Posted

I'm the person developing/maintaing SkyProc and one of the issues I've had reported is that old patcher log files are not cleaned up when the patcher is run through MO. SkyProc creates a number of log files when a patcher is run but when a patcher starts it will attempt to delete all the old log files by calling the java File.delete() function on them. When run through MO patchers often do not delete the old log files. I've done some testing and it seems there is some very odd behavior when deleting files. Sometimes they are not deleted, sometimes they are apparently deleted after the new logs are written resulting in no logs at all existing, and sometimes it works fine. Running the same patcher multiple times in a row with the same mods active and the same settings has given all three results when testing this.

 

Is there a correct way to delete files so that it is fully compatible with MO?

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Privacy Policy, and Terms of Use.