I'm using absolute paths to reference both files, so unfortunately that isn't the issue. And the program runs fine if I run the executable instead of the .app, so my code must work fine. Running the .app must put a lock on the main executable. I just need to find out how to get around that.