
25 May
2009
25 May
'09
11:45 a.m.
There getArgs and getProgName in System module. If you want parse this parameters there is System.Console.GetOpt. Those will only tell me how my program was called. I want to work with command lines as data within my program, which is a completely different thing.
All the splitting, escaping and quotes interpretaion is done by shell. All what get program when starts is list of strings. Program name is actually arbitrary string. (At least on unices, it may work a bit differently on windows). That's fine, but I'll see the commands yet to be passed to the shell as strings, and I'd like to know where to split them.
Gergely -- http://www.fastmail.fm - The professional email service