* Changed signature of TForkEvent

git-svn-id: trunk@26752 -
This commit is contained in:
michael 2014-02-11 16:05:03 +00:00
parent 8c3e98ef9f
commit dafd3c3934
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ Type
Type
{$ifdef UNIX}
TProcessForkEvent = procedure;
TProcessForkEvent = procedure(Sender : TObject) of object;
{$endif UNIX}
{ TProcess }

View File

@ -394,7 +394,7 @@ begin
safefpdup2(fd,2);
end;
if Assigned(FForkEvent) then
FForkEvent;
FForkEvent(Self);
if (poRunSuspended in Options) then
sigraise(SIGSTOP);
if FEnv<>Nil then