As discussed on the Q&A forum it would be helpful to be able to execute a script of some form (Ant, shell, Windows CMD etc.) using a command line defined in the scratch org creation dialog. The command must be able to receive the alias of the scratch org created as a parameter using a placeholder in the command line definition. Additionally, the command line definition should be stored as part of the project configuration (in the .idea folder rather than the .IML file) for re-presentation each time the creation dialog is opened, only being re-saved if changed. Finally, where the script’s location is explicitly defined by the user this should be stored as project path relative.
Issue #1475 new