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 -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled after a new process is spawned.voidCalled before a new process is spawned.
-
Field Details
-
NULL_HOOK
No-op IProcessLauncherHook
-
-
Method Details
-
beforeLaunch
Called before a new process is spawned.- Parameters:
pb- - ProcessBuilder instance- Throws:
IOException- on error
-
afterLaunch
Called after a new process is spawned.- Parameters:
p- - Process instance- Throws:
IOException- on error
-