public interface IProcessLauncherHook
ProcessBuilder
before a new subprocess is spawned.| Modifier and Type | Field and Description |
|---|---|
static IProcessLauncherHook |
NULL_HOOK
No-op IProcessLauncherHook
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterLaunch(Process p)
Called after a new process is spawned.
|
void |
beforeLaunch(ProcessBuilder pb)
Called before a new process is spawned.
|
static final IProcessLauncherHook NULL_HOOK
void beforeLaunch(ProcessBuilder pb) throws IOException
pb - - ProcessBuilder instanceIOException - on errorvoid afterLaunch(Process p) throws IOException
p - - Process instanceIOException - on errorCopyright © 2010 - 2020 Adobe. All Rights Reserved