Logic 2.4.7 Error using .launch() from Unittest

Nice Catch! That was the problem!

First I was able to reproduce the problem from the command line simply by setting that variable, then attempting to launch Logic.exe.

A quick fix in python is to delete the environment variable before launching Logic, like so:

del os.environ['ELECTRON_RUN_AS_NODE']

Just do that before calling automation.Manager.launch() and it should work! I tested and confirmed this from vs code.