[fpc-pascal] TProcess.CurrentDirectory doc

Sven Barth pascaldragon at googlemail.com
Tue Jul 7 07:14:28 CEST 2020


Am 06.07.2020 um 23:31 schrieb Alexey Tor. via fpc-pascal:
>
> https://lazarus-ccr.sourceforge.io/docs/fcl/process/tprocess.currentdirectory.html
>
> CurrentDirectory specifies the working directory of the newly started 
> process.Changing this property after the process was started has no 
> effect.
>
> 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?
>

Please report on Mantis.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200707/4a0f9dd8/attachment.htm>


More information about the fpc-pascal mailing list