Operator for toggling the System Console doesn't work in Startup script


I’d like Blender to start with the System Console.

All I could think of is to run a Startup script:

import bpy


Running the script manually works. But running it as a Startup script doesn’t. (I registered the script and enabled Auto Run Python Scripts in Blender User Preferences File Auto Execution).

Also a little strange that I couldn’t find anything in the API about this Python function.

Any help is appreciated.

Thanks. That’s very helpful.