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
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal