PDA

View Full Version : Bundled exe and command line



ErosOlmi
27-01-2007, 14:38
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

RobertoBianchi
27-01-2007, 16:20
Yes, you are right but command line is out o may hands now, I'm focusing on compression and how automatically adding minimal modules.

Ciao,
Roberto

ErosOlmi
21-02-2007, 00:22
Roberto,

current thinBundle have "Command line" text box in order to add fixed command line when script inside bundled exe is executed.
I think command line should be dynamic and not specified during bundling.

When bundled exe is executed, main runtime should take full command line and pass to thinbasic main script during CreateProcessEx.
So if bundled exe is executed as:


MyBundledExe.exe MyCommand1 MyCommand2

CreateProcessEx should be something like:


thinBasic.exe MyMainScript.tBasic MyCommand1 MyCommand2
Ciao
Eros

RobertoBianchi
21-02-2007, 10:10
Perhaps it should be already done as you say, sorry may be it does not work properly!

ErosOlmi
21-02-2007, 12:42
OK, thanks Roberto.
I will check and get you back
Ciao

ErosOlmi
21-02-2007, 14:04
Roberto,

seems working fine now. Both fixed and dynamic command line parameters are handled.
This feature will be present in next release.

Thanks
Eros