[fpc-devel]argv[ 0 ] is not assumed to be a full path ?

Peter Vreman peter at freepascal.org
Sun Nov 12 14:06:29 CET 2000

> Hi/2 all.
> Tomas, argv[ 0 ] is not assumed to be a full path, really 
> I know, at leat in recent, 0th parameter must be a full path to
> executable file. Sure, other argv except 0th need not be a full path.

argv is for C compatibility and should be the same as argv in C programs.

> They are just parameters.
> However, if we shouldn't modify argv probably, we should modify
> ParamStr to return a full path as 0th parameter.

true, paramstr(0) should return full path.

More information about the fpc-devel mailing list