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

Hi,

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

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

import bpy

bpy.ops.wm.console_toggle()

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.