Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-05

Trapping signals to application

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

SteveG

Does anyone know how or if it is possible to trap signals sent to a laz app. ie If I where to send 'Kill -s(sig) (lazapp procid) from a shell prompt, could I respond from within my laz app ?

Thanks

Reply by email

SteveG
to SteveG

Works perfectly - Thanks

Peter Vreman wrote 13 lines
>Does anyone know how or if it is possible to trap signals sent to a laz >app. ie If I where to send 'Kill -s(sig) (lazapp procid) from a shell >prompt, could I respond from within my laz app ? You can use Signal() or Sigaction() from the Linux unit _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email