Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4624236
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:06:05+00:00 2026-05-22T03:06:05+00:00

I found a comment that hints at a problem I think I’m seeing, in

  • 0

I found a comment that hints at a problem I think I’m seeing, in which a forked child of IPC::Open3 is running the main program code instead of just execing like I would expect.

Does anyone else have experience with “leaking” processes out of IPC::Open3? I looked over the library source, and didn’t see anything outrageously wrong.

This is with Perl 5.8.4 (yeah, I know… but it can’t be updated) running on Solaris 10.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T03:06:06+00:00Added an answer on May 22, 2026 at 3:06 am

    While this has since been fixed, the open3 from 5.8.4 could throw an exception from the child, meaning both the parent and the child could “return” from open3.

    While you could handle that, it’s a bit complicated.* It would be easier to replace your IPC/Open3.pm with the one from a newer Perl.

    Better yet, if you don’t need something as low-level as IPC::Open3, you could use a higher-level module such as IPC::Run3 (simpler) or IPC::Run (more powerful).

    * — At a minimum,

    my $parent_pid = $$;
    my $pid = eval { open3(...) };
    if (!$pid) {
        if ($parent_pid == $$) {
            # Exception in parent.
            die($@);
        } else {
            # Exception in child (pre-exec).
            print STDERR $@;
            _exit(255);
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On /coreutils-8.12/src/ls.c , I've found this comment: /* POSIX requires that a file size
Found the following in an Oracle-based application that we're migrating (generalized) : SELECT Table1.Category1,
Found a piece of code today, that I find a little smelly... TMyObject.LoadFromFile(const filename:
I found this open-source library that I want to use in my Java application.
EDIT: I just found my problem after writing this long post explaining every little
I just found out about BuddyPress (a collection of plugins that convert a WordPress
At different questions I've found hints in comments concerning using the (->) instance of
I found a comment here: http://bakery.cakephp.org/articles/PHPdiddy/2006/10/06/custom-urls-from-the-site-root That said: Just change last line. Router::connect('/ ',
I'm working on a project in which I'm writing a c# windows application that
I have the following in my template {{! This is a comment that shouldn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.