Methods Summary |
---|
public static native int | addrspaceSet(long attr, int addrspace)Determine if the child should start in its own address space or using the
current one from its parent
|
public static native int | childErrSet(long attr, long err, long parent)Set the child_err and parent_err values to existing apr_file_t values.
This is NOT a required initializer function. This is
useful if you have already opened a pipe (or multiple files)
that you wish to use, perhaps persistently across multiple
process invocations - such as a log file.
|
public static native int | childInSet(long attr, long in, long parent)Set the child_in and/or parent_in values to existing apr_file_t values.
This is NOT a required initializer function. This is
useful if you have already opened a pipe (or multiple files)
that you wish to use, perhaps persistently across multiple
process invocations - such as a log file. You can save some
extra function calls by not creating your own pipe since this
creates one in the process space for you.
|
public static native int | childOutSet(long attr, long out, long parent)Set the child_out and parent_out values to existing apr_file_t values.
This is NOT a required initializer function. This is
useful if you have already opened a pipe (or multiple files)
that you wish to use, perhaps persistently across multiple
process invocations - such as a log file.
|
public static native int | cmdtypeSet(long attr, int cmd)Set what type of command the child process will call.
|
public static native long | create(long cont)Create and initialize a new procattr variable
|
public static native int | detachSet(long attr, int detach)Determine if the child should start in detached state.
|
public static native int | dirSet(long attr, java.lang.String dir)Set which directory the child process should start executing in.
|
public static native void | errfnSet(long attr, long pool, java.lang.Object o)Specify an error function to be called in the child process if APR
encounters an error in the child prior to running the specified program.
|
public static native int | errorCheckSet(long attr, int chk)Specify that apr_proc_create() should do whatever it can to report
failures to the caller of apr_proc_create(), rather than find out in
the child.
|
public static native int | groupSet(long attr, java.lang.String groupname)Set the group used for running process
|
public static native int | ioSet(long attr, int in, int out, int err)Determine if any of stdin, stdout, or stderr should be linked to pipes
when starting a child process.
|
public static native int | userSet(long attr, java.lang.String username, java.lang.String password)Set the username used for running process
|