{"id":4466,"date":"2023-01-01T21:53:54","date_gmt":"2023-01-02T04:53:54","guid":{"rendered":"http:\/\/www.sheer.us\/weblogs\/?p=4466"},"modified":"2023-01-01T21:53:54","modified_gmt":"2023-01-02T04:53:54","slug":"ipcshareable-sets-sigchld-to-ignore-ill-take-annoying-undocumented-side-effects-for-200-alex","status":"publish","type":"post","link":"https:\/\/www.sheer.us\/weblogs\/programming\/perl\/ipcshareable-sets-sigchld-to-ignore-ill-take-annoying-undocumented-side-effects-for-200-alex","title":{"rendered":"IPC::Shareable sets SIGCHLD to Ignore (I&#8217;ll take &#8220;Annoying undocumented side effects&#8221; for $200, Alex)"},"content":{"rendered":"<p>Just a heads up that hopefully google will index and save someone else from the several hours of digging I&#8217;ve just had to do. the perl module IPC::Shareable sets SIG{CHLD} to ignore any time you include it. You can set it back to the default behavior, but until you do, waitpid() is going to return -1 and $? will contain -1 for any pid-waiting you do. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a heads up that hopefully google will index and save someone else from the several hours of digging I&#8217;ve just had to do. the perl module IPC::Shareable sets SIG{CHLD} to ignore any time you include it. You can set it back to the default behavior, but until you do, waitpid() is going to return [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,4,3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts\/4466"}],"collection":[{"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/comments?post=4466"}],"version-history":[{"count":1,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts\/4466\/revisions"}],"predecessor-version":[{"id":4467,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts\/4466\/revisions\/4467"}],"wp:attachment":[{"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/media?parent=4466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/categories?post=4466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/tags?post=4466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}