public class SpawnedOSProcess extends SpawnedProcess
SpawnedProcess.SpawnSyncResultparent, STDIO_FD, STDIO_IGNORE, STDIO_PIPE| Constructor and Description |
|---|
SpawnedOSProcess(List<String> execArgs,
String file,
File cwd,
org.mozilla.javascript.Scriptable stdio,
List<String> env,
boolean detached,
ProcessWrap.ProcessImpl parent,
ScriptRunner runtime) |
| Modifier and Type | Method and Description |
|---|---|
int |
spawn(org.mozilla.javascript.Context cx)
Regular, async spawn.
|
SpawnedProcess.SpawnSyncResult |
spawnSync(org.mozilla.javascript.Context cx,
long timeout,
TimeUnit unit)
Spawn synchronously.
|
void |
terminate(String signal) |
createStreamHandle, getStdioFDpublic SpawnedOSProcess(List<String> execArgs, String file, File cwd, org.mozilla.javascript.Scriptable stdio, List<String> env, boolean detached, ProcessWrap.ProcessImpl parent, ScriptRunner runtime)
public int spawn(org.mozilla.javascript.Context cx)
spawn in class SpawnedProcesspublic SpawnedProcess.SpawnSyncResult spawnSync(org.mozilla.javascript.Context cx, long timeout, TimeUnit unit)
spawnSync in class SpawnedProcesspublic void terminate(String signal)
Copyright © 2015 Apigee Corporation. All Rights Reserved.