Interface IProcessLauncherHook


  • public interface IProcessLauncherHook
    Hook class for applying last-minute changes to the ncomm ProcessBuilder before a new subprocess is spawned.
    • Method Detail

      • beforeLaunch

        void beforeLaunch​(java.lang.ProcessBuilder pb)
                   throws java.io.IOException
        Called before a new process is spawned.
        Parameters:
        pb - - ProcessBuilder instance
        Throws:
        java.io.IOException - on error
      • afterLaunch

        void afterLaunch​(java.lang.Process p)
                  throws java.io.IOException
        Called after a new process is spawned.
        Parameters:
        p - - Process instance
        Throws:
        java.io.IOException - on error