Is there a way to disable close and quit using applescripts?

Hi, I have a parent application that is constantly opening
and closing support applications like quicktime. Is there
a way to disable the quit or close feature on mac and make
it so all applications that have been opened stay open???

Essentially, any root, darwin, anything at all, if it has been opened
by this parent application, it becomes a stay open application until
I disable the applescript?