Welcome Guest. Please Login or Register. Apr 1st, 2018, 04:24am
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. We apologize Conforums does not have any export functions to migrate data. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
Either way, this is probably something that is done behind the scenes in Smalltalk and Carl wouldn't be able to fix it.
I see there's currently a thread at the LB Community Forum which indicates that the problems with CommandLine$ go far deeper than I realised. Even when consistently run from a command prompt the contents of the variable depend on things like whether you enclose the program name in quotes or not!
If the issue is a fault in Smalltalk Carl should be able to workaround it by calling the GetCommandLine API himself (thereby bypassing Smalltalk's command line processing) and parsing it to return the wanted command 'tail' - which basically involves removing the initial (possibly quoted) path/filename of the executable.