Interface IProcessLauncherHook


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

    Fields
    Modifier and Type
    Field
    Description
    No-op IProcessLauncherHook
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called after a new process is spawned.
    void
    Called before a new process is spawned.
  • Field Details

  • Method Details

    • 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