>> Project->Set programs' arguments then change the Host Application to a script that does whatever you need it to.
Thanks, but you forget to tell me, that first I need to change Target type to "Dynamic library" and disable some library-specific options. =)
Second there is no variables substitution in this dialog, so I need to write target manually and edit it, if I copy or edit target. Additionally, I can`not change "pause when execution ends" for library target and I need to change options related to Run action in two different places ("Project->Properties...->Build Targets" and "Project->Set programs' arguments").
So I think this future need some redesign =).
By the way, can I send program`s output somewhere to "Logs & others" panel (to "Code::Blocks", "build log", or to separate tab, like in Tools+)? Another idea - allow to launch Tools/Tools+ command on "Run".