Package com.sun.akuma

Class Daemon.WithoutChdir

  • Enclosing class:
    Daemon

    public static class Daemon.WithoutChdir
    extends Daemon
    Flavor of Daemon that doesn't change the current directory.

    This turns out to be often more useful as JavaVM can take lot of arguments and system properties that use paths, and when we CD they won't work.

    • Constructor Detail

      • WithoutChdir

        public WithoutChdir()
    • Method Detail

      • chdirToRoot

        protected void chdirToRoot()
        Description copied from class: Daemon
        change directory to '/' to avoid locking directories.
        Overrides:
        chdirToRoot in class Daemon