Why ksh builtin command `wait` returns 127 on my RHEL6 system ?

Solution Unverified - Updated -

Issue

  • When trying to get return codes of wait , ksh randomly returns 127 even though the process exit successfully. What the cause of this behaviour ?

Environment

  • Red Hat Enterprise Linux 6.1
  • ksh-20100621-6.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content