in reply to Re^2: confusing fork/readline behaviour
in thread confusing fork/readline behaviour

Yes that's true. Although it is more common that the parent has more work to do, it is also a well-known way to create a daemon by having a main program fork and exit immediately, leaving the child running detached.

One world, one people

  • Comment on Re^3: confusing fork/readline behaviour