|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.Prominic.runtime.UnixRuntime
public class UnixRuntime
| Field Summary | |
|---|---|
private static int |
runningProcesses
|
| Constructor Summary | |
|---|---|
UnixRuntime()
|
|
| Method Summary | |
|---|---|
protected static void |
decrementRunningProcesses()
Insert the method's description here. |
static UnixProcess |
exec(int uid,
int gid,
java.lang.String cmd)
Start an unix process. |
static UnixProcess |
exec(int uid,
int gid,
java.lang.String[] cmd)
Start an unix process. |
static UnixProcess |
exec(int uid,
int gid,
java.lang.String[] cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
Start an unix process. |
static UnixProcess |
exec(int uid,
int gid,
java.lang.String cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
Start an unix process. |
static UnixProcess |
exec(int uid,
java.lang.String cmd)
Start an unix process. |
static UnixProcess |
exec(int uid,
java.lang.String[] cmd)
Start an unix process. |
static UnixProcess |
exec(int uid,
java.lang.String[] cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
Start an unix process. |
static UnixProcess |
exec(int uid,
java.lang.String cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
Start an unix process. |
static UnixProcess |
exec(java.lang.String cmd)
Start an unix process. |
static UnixProcess |
exec(java.lang.String[] cmd)
Start an unix process. |
static UnixProcess |
exec(java.lang.String[] cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
Start an unix process. |
static UnixProcess |
exec(java.lang.String cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
Start an unix process. |
static int |
getRunningProcesses()
Insert the method's description here. |
protected static int |
incrementRunningProcesses()
Insert the method's description here. |
static void |
killProcess(int pid)
Kills the unix process represented by the pid Creation date: (8/21/2001 1:11:40 PM) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static int runningProcesses
| Constructor Detail |
|---|
public UnixRuntime()
| Method Detail |
|---|
protected static void decrementRunningProcesses()
newRunningProcesses - intpublic static UnixProcess exec(java.lang.String[] cmd)
cmd - java.lang.String[] The command
public static UnixProcess exec(java.lang.String[] cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
cmd - java.lang.String[] The commandstdoutfilename - java.lang.String The output filename for the processstderrfilename - java.lang.String The error filename for the processstdinfilename - java.lang.String The input filename for the process
public static UnixProcess exec(int uid,
java.lang.String[] cmd)
uid - int The process will be start by the user specified by its uidcmd - java.lang.String[] The command
public static UnixProcess exec(int uid,
java.lang.String[] cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
uid - int The process will be start by the user specified by its uidcmd - java.lang.String[] The commandstdoutfilename - java.lang.String The output filename for the processstderrfilename - java.lang.String The error filename for the processstdinfilename - java.lang.String The input filename for the process
public static UnixProcess exec(int uid,
int gid,
java.lang.String[] cmd)
uid - int The process will be start by the user specified by its uidgid - int The process will be start by the group specified by its gidcmd - java.lang.String[] The command
public static UnixProcess exec(int uid,
int gid,
java.lang.String[] cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
uid - int The process will be start by the user specified by its uidgid - int The process will be start by the group specified by its gidcmd - java.lang.String[] The commandstdoutfilename - java.lang.String The output filename for the processstderrfilename - java.lang.String The error filename for the processstdinfilename - java.lang.String The input filename for the process
public static UnixProcess exec(int uid,
int gid,
java.lang.String cmd)
uid - int The process will be start by the user specified by its uidgid - int The process will be start by the group specified by its gidcmd - java.lang.String The command
public static UnixProcess exec(int uid,
int gid,
java.lang.String cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
uid - int The process will be start by the user specified by its uidgid - int The process will be start by the group specified by its gidcmd - java.lang.String The commandstdoutfilename - java.lang.String The output filename for the processstderrfilename - java.lang.String The error filename for the processstdinfilename - java.lang.String The input filename for the process
public static UnixProcess exec(int uid,
java.lang.String cmd)
uid - int The process will be start by the user specified by its uidcmd - java.lang.String The command
public static UnixProcess exec(int uid,
java.lang.String cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
uid - int The process will be start by the user specified by its uidgid - int The process will be start by the group specified by its gidcmd - java.lang.String The commandstdoutfilename - java.lang.String The output filename for the processstderrfilename - java.lang.String The error filename for the processstdinfilename - java.lang.String The input filename for the process
public static UnixProcess exec(java.lang.String cmd)
cmd - java.lang.String The command
public static UnixProcess exec(java.lang.String cmd,
java.lang.String stdoutfilename,
java.lang.String stderrfilename,
java.lang.String stdinfilename)
cmd - java.lang.String The commandstdoutfilename - java.lang.String The output filename for the processstderrfilename - java.lang.String The error filename for the processstdinfilename - java.lang.String The input filename for the process
public static int getRunningProcesses()
protected static int incrementRunningProcesses()
public static void killProcess(int pid)
throws java.lang.SecurityException
pid - int The unix process identifier
java.lang.SecurityException - If there aren't the right to kill the process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||