mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 20:29:17 +02:00
* Changed signature of TForkEvent
git-svn-id: trunk@26752 -
This commit is contained in:
parent
8c3e98ef9f
commit
dafd3c3934
@ -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 }
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user