In our previous episode, Mattias Gaertner said:
> > 
> > It's a hack ?
> 
> AFAIK the PWD is the official thing and used by other console tools as
> well.

afaik:

1) it is an official thing only of the shell, not the "system".
2) it assumes that any program doesn't change paths inbetween.
   (either the executed program before pwd test, or sh->exe1->exe2
   scenarios, excluding freak stuff like daemons)

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

Reply via email to