public class ProcessEmu
extends java.lang.Object
Constructor and Description |
---|
ProcessEmu() |
Modifier and Type | Method and Description |
---|---|
static void |
fork(Pipe pipe,
ProcessWithPipe process)
Start a new (emulated) process.
|
public static void fork(Pipe pipe, ProcessWithPipe process)
pipe
- the pipe inherited from the parent processprocess
- the code to be executed as new "process"