Next Welcome to my ~/bin 5

Idioms: "Background"

        if (fork) {
          # I am the parent
        } else {
          # I am the child
        }
        if (fork) {
          exit;
        }
        # I am the child
        # IDIOM
        fork && exit;   # Run in the background


Next Menu Copyright © 2005 M. J. Dominus