Menu

#314 irexec respawns itself when configured shell is not working

0.11.0
closed
nobody
None
fixed
2018-02-11
2017-11-03
No

When irexec attempts to spawn a command process, but for some reason execve() failes (in my case it was a misconfigured SH_PATH) it runs wild (new process running for each new command).

See attached pach for a fix.

1 Attachments

Discussion

  • Bengt Martensson

    I have not been testing the patch, but I have been "inspecting" it. Looks ok to me. Alec?

     
  • Alec Leamas

    Alec Leamas - 2018-02-11

    Yes, this patch is clean and fine. Will merge, sorry for delay!

     
  • Alec Leamas

    Alec Leamas - 2018-02-11

    Fixed in [4c6938]. Thanks for patch!

    EDIT: Sorry for delay...

     

    Related

    Commit: [4c6938]


    Last edit: Alec Leamas 2018-02-11
  • Alec Leamas

    Alec Leamas - 2018-02-11
    • status: open --> closed
    • Resolution: na --> fixed
    • Milestone: Future --> 0.11.0
     

Log in to post a comment.