Can"t get "kill "INT", $pid;" to work on 5.8.8
am 08.03.2007 23:19:41 von fwashburThis is a multi-part message in MIME format.
--===============1295891994==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C761CF.E03B4CBA"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C761CF.E03B4CBA
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi Folks,
=20
I don't seem to be able to get any kind of signaling to work on 5.8.8
build 820.=20
Has anyone else ran into a similar situation? If so did you find a work
around?
=20
I have tried
Kill "INT", $pid;
=20
The target process never makes it into the $SIG{INT} handler when this
is done. Manually entering CTRL-C works as expected and does get into
the signal handler.
=20
On 5.6.1 we obtained a console handle and used:
$console->GenerateCtrlEvent();
=20
This also does not work on 5.8.8.
=20
The only information I can find in the porting document is that signals
now wait for the last opcode to complete before processing the signal. I
don't think that's the issue here as the signal is never received or
processed in the first place.
=20
Any information would be appreciated.
=20
Thanks - Rick
=20
=20
Rick Washburn
928-478-4663, Cell 928-978-1798
=20
------_=_NextPart_001_01C761CF.E03B4CBA
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
charset=3Dus-ascii">
style=3D'font-size:10.0pt;
font-family:Arial'>Hi Folks,
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>I don’t seem to be able to get any kind of =
signaling
to work on 5.8.8 build 820.
style=3D'font-size:10.0pt;
font-family:Arial'>Has anyone else ran into a similar situation? If so =
did you
find a work around?
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>I have tried
style=3D'font-size:10.0pt;
font-family:Arial'>Kill “INT”, $pid;
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>The target process never makes it into the $SIG{INT} =
handler
when this is done. Manually entering CTRL-C works as expected and does =
get into
the signal handler.
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>On 5.6.1 we obtained a console handle and =
used:
style=3D'font-size:10.0pt;
font-family:Arial'>$console->GenerateCtrlEvent();
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>This also does not work on 5.8.8.
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>The only information I can find in the porting =
document is
that signals now wait for the last opcode to complete before processing =
the
signal. I don’t think that’s the issue here as the signal is =
never
received or processed in the first place.
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>Any information would be =
appreciated.
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks - Rick
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:10.0pt;
font-family:Arial'>Rick Washburn
style=3D'font-size:10.0pt;
font-family:Arial'>928-478-4663, Cell 928-978-1798
style=3D'font-size:
12.0pt'>
------_=_NextPart_001_01C761CF.E03B4CBA--
--===============1295891994==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============1295891994==--