On 2015-11-08 13:31, Anthony Walter wrote:
> RunCommand('pwd', S);

Why not simply FPC's GetCurrentDir() function.

  http://www.freepascal.org/docs-html/rtl/sysutils/getcurrentdir.html


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to