bpa wrote: 
> Good work - I had looked at the origina shell script and tested out the
> "trap" and found using "trap -l" that the PIPE and a few other traps
> couldn't be set within the shell script.
> 
> This wrapper at least provides user with a safety net - another item to
> go into the "troubleshooting" note when it gets written.

I suspect it was that sort of awkwardness that led me down the 'pipe
through cat' route. Too long ago to remember, though.

Reading the perl manual indicates that 'use sigtrap' includes PIPE by
default. It also threatens a stack trace and attempted core dump. But I
can't see how that can happen after the 'exec'. I didn't notice anything
adverse.


------------------------------------------------------------------------
mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to