the editor does work independently of the main program. @Doitsu when you call subprocess to run epubcheck, you should specify the creationflags variable to ensure cd window is not created. something like
Code:
import win32process
subprocess.Popen(...., creationflags=win32process.CREATE_NO_WINDOW)