Menu

#16 sh.script: getpid: does not work on HP UX

v3.2.3
closed-invalid
None
5
2007-04-23
2007-04-06
No

HP-UX duhtent1 B.11.11 U 9000/800

"ps" command doesn't accept "-o args"

I think it can be replaced with "-x" which probably works on most UNIX systems.

Discussion

  • Matěj Kraus

    Matěj Kraus - 2007-04-06

    sh.script.in.patch

     
  • Leif Mortenson

    Leif Mortenson - 2007-04-21
    • milestone: --> v3.2.3
    • assigned_to: nobody --> mortenson
    • status: open --> open-fixed
     
  • Leif Mortenson

    Leif Mortenson - 2007-04-21

    Logged In: YES
    user_id=228081
    Originator: NO

    Matej,
    I tried your patch on Solaris and Linux and it failed. I assume it works correctly for HP-UX so I went ahead and applied it. Could you please try out this new version and verify that it works? Get back to me with the results of your test.

    You can get the latest version here:
    http://svn.sourceforge.net/viewvc/\*checkout*/wrapper/trunk/wrapper/src/bin/sh.script.in

    Cheers,
    Leif

     
  • Matěj Kraus

    Matěj Kraus - 2007-04-23

    Logged In: YES
    user_id=1713714
    Originator: YES

    Sorry, finally it is not necessary to make your last change to this topic. Solution from David Brown's patch works too. He exports magic empty environment variable UNIX95 which causes that "-o args" works, see http://svn.sourceforge.net/viewvc/wrapper/trunk/wrapper/src/bin/sh.script.in?r1=1269&r2=1271

     
  • Leif Mortenson

    Leif Mortenson - 2007-04-23
    • status: open-fixed --> closed-invalid
     
  • Leif Mortenson

    Leif Mortenson - 2007-04-23

    Logged In: YES
    user_id=228081
    Originator: NO

    Matej,
    Thanks for getting back. I had forgotten I had made that fix. This patch has been backed out. Please reverify it from the SVN head.

    Cheers,
    Leif

     

Log in to post a comment.