* 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 Type
{$ifdef UNIX} {$ifdef UNIX}
TProcessForkEvent = procedure; TProcessForkEvent = procedure(Sender : TObject) of object;
{$endif UNIX} {$endif UNIX}
{ TProcess } { TProcess }

View File

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