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(java.lang.Process p)
Called after a new process is spawned.
|
void |
beforeLaunch(java.lang.ProcessBuilder pb)
Called before a new process is spawned.
|
static final IProcessLauncherHook NULL_HOOK
void beforeLaunch(java.lang.ProcessBuilder pb)
throws java.io.IOException
pb - - ProcessBuilder instancejava.io.IOException - on errorvoid afterLaunch(java.lang.Process p)
throws java.io.IOException
p - - Process instancejava.io.IOException - on errorCopyright © 2010 - 2023 Adobe. All Rights Reserved