When I launch blender with -P and --python-console together like this
blender -b -P my_script.py --python-console
my script is loaded after I exit the python console. How can I run it before the python console shows up? Or can I make it run right after the console starts?
exec(compile(text))can be used to run a script from the cli console. – sambler Jun 11 '17 at 10:20