mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 03:48:08 +02:00
build_lcl_docs: showcmd: show working directory
git-svn-id: trunk@37855 -
This commit is contained in:
parent
2edaf60158
commit
4458799589
@ -235,10 +235,13 @@ procedure Run;
|
||||
var
|
||||
Process: TProcess;
|
||||
CmdLine: String;
|
||||
WorkDir: String;
|
||||
begin
|
||||
CmdLine := fpdoc + FPDocParams + ArgParams + EnvParams;
|
||||
WorkDir := GetCurrentDirUTF8+PathDelim+PackageName;
|
||||
if ShowCmd then
|
||||
begin
|
||||
Writeln('WorkDirectory:',WorkDir);
|
||||
WriteLn(CmdLine);
|
||||
Exit;
|
||||
end;
|
||||
@ -252,7 +255,7 @@ begin
|
||||
Process := TProcessUTF8.Create(nil);
|
||||
try
|
||||
Process.Options := Process.Options + [poWaitOnExit];
|
||||
Process.CurrentDirectory := GetCurrentDirUTF8+PathDelim+PackageName;
|
||||
Process.CurrentDirectory := WorkDir;
|
||||
Process.CommandLine := CmdLine;
|
||||
try
|
||||
Process.Execute;
|
||||
|
Loading…
Reference in New Issue
Block a user