On Sun, 10 Apr 2011 11:50:56 +0200 (CEST), Michael Van Canneyt wrote
about Re: [fpc-pascal] Parsing commandline parameters with wildcards on
Linux:

>On Sun, 10 Apr 2011, Bart wrote:
[snip]
>> I would prefer to expand the wildcards by myself, but it seems I have
>> no access to what the user actually typed on the commandline?
>
>You cannot access that. If you want the wildcards, the user must
>escape them himself.

A program can open /proc/self/cmdline as a text file, and retrieve its
command line to re-parse it for itself.
-- 
Regards,

Dave  [RLU #314465]
=======================================================================
david.w.n...@ntlworld.com (David W Noon)
=======================================================================

Attachment: signature.asc
Description: PGP signature

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to