Skip to content

Commit 34207b0

Browse files
committed
The Cmd instance builder was missing its result value
1 parent 02ff935 commit 34207b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tools/PyTools.ExecCmd.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ implementation
7777

7878
class function TExecCmdService.Cmd(const ACmd: string; const AArg, AEnv: TArray<string>): IExecCmd;
7979
begin
80-
TExecCmd.Create(ACmd, AArg, AEnv);
80+
Result := TExecCmd.Create(ACmd, AArg, AEnv);
8181
end;
8282

8383
class function TExecCmdService.Cmd(const ACmd: string;

0 commit comments

Comments
 (0)