Roberto,

in case of a bundled exe is executed, I think you have to pass CommandLine to createprocessex otherwise it will not be possible to use command line with scripts.

Ciao
Eros