[fpc-pascal] TProcess.CurrentDirectory doc
Marco van de Voort
core at pascalprogramming.org
Tue Jul 7 09:36:56 CEST 2020
Op 07/07/2020 om 07:44 schreef Michael Van Canneyt:
>>> need more info there! a) what happens when the process, eg Bash
>>> file, changes its working dir (via "cd") many times and I read
>>> CurrentDirectory eg during OnReadData (ASyncProcess)? do I get
>>> changed cur-dir, or initial dir? b) do i get changed dir on all
>>> OSes? c) if Bash file runs child bash file which changes cur-dir, do
>>> i get changed dir?
>
> No, because it is the *initial* directory only.
>
> I changed the docs, no need to submit a report.
>
I quickly walked through the tprocess docs and most new things in 3.2.0
are nicely documented, nice! Just two emergency changes from May
aren't, and might need rerunning makeskel for it.
See two identifiers without description in
https://www.freepascal.org/docs-html/current/fcl/process/tprocessoptions.html
porunidle: Run Runidle event. By default this is a sleep (to avoid
busy waiting with long living processes)
podetached: Windows specific alternative to poNoConsole. Still creates
a console handle even if it doesn't show it.
(https://forum.lazarus.freepascal.org/index.php/topic,49631.0)
More information about the fpc-pascal
mailing list