|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mit.csail.sdg.alloy4.Subprocess
public final class Subprocess
This provides a convenience wrapper around a Process object.
To launch a subprocess, simply write Subprocess.exec(timeout, args);
Thread Safety: Safe.
| Method Summary | |
|---|---|
static java.lang.String |
exec(long timeLimit,
java.lang.String[] commandline)
Executes the given command line, wait for its completion, then return its output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String exec(long timeLimit,
java.lang.String[] commandline)
timeLimit - - we will attempt to terminate the process after that many milliseconds have passedcommandline - - the command line
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||