<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Michael Van Canneyt <<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>> schrieb am Di., 7. Juli 2020, 07:44:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Tue, 7 Jul 2020, Sven Barth via fpc-pascal wrote:<br>
<br>
> Am 06.07.2020 um 23:31 schrieb Alexey Tor. via fpc-pascal:<br>
>> <br>
>> <a href="https://lazarus-ccr.sourceforge.io/docs/fcl/process/tprocess.currentdirectory.html" rel="noreferrer noreferrer" target="_blank">https://lazarus-ccr.sourceforge.io/docs/fcl/process/tprocess.currentdirectory.html</a><br>
>> <br>
>> CurrentDirectory specifies the working directory of the newly started <br>
>> process.Changing this property after the process was started has no effect.<br>
<br>
I added 'initial' to working directory.<br>
<br>
>> <br>
>> need more info there! a) what happens when the process, eg Bash file, <br>
>> changes its working dir (via "cd") many times and I read CurrentDirectory <br>
>> eg during OnReadData (ASyncProcess)? do I get changed cur-dir, or initial <br>
>> dir? b) do i get changed dir on all OSes? c) if Bash file runs child bash <br>
>> file which changes cur-dir, do i get changed dir?<br>
<br>
No, because it is the *initial* directory only.<br>
<br>
I changed the docs, no need to submit a report.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Even better :D</div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>