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​(ProcessBuilder pb)
                   throws IOException
        Called before a new process is spawned.
        Parameters:
        pb - - ProcessBuilder instance
        Throws:
        IOException - on error
      • afterLaunch

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