Package org.jruby
Class RubyProcess
java.lang.Object
org.jruby.RubyProcess
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRubyObject_fork(ThreadContext context, IRubyObject recv, Block block) static IRubyObjectabort(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectclock_getres(ThreadContext context, IRubyObject self, IRubyObject _clock_id) static IRubyObjectclock_getres(ThreadContext context, IRubyObject self, IRubyObject _clock_id, IRubyObject _unit) static IRubyObjectclock_gettime(ThreadContext context, IRubyObject self, IRubyObject _clock_id) static IRubyObjectclock_gettime(ThreadContext context, IRubyObject self, IRubyObject _clock_id, IRubyObject _unit) static RubyModulecreateProcessModule(ThreadContext context, RubyClass Object, RubyClass Struct) static IRubyObjectdetach(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectDeprecated.static IRubyObjectegid(IRubyObject recv) Deprecated.static IRubyObjectegid(ThreadContext context, IRubyObject recv) static IRubyObjectegid_set(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObjectegid_set(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObjectegid_set(ThreadContext context, IRubyObject arg) static IRubyObjectegid_set(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectDeprecated.static IRubyObjecteuid(IRubyObject recv) Deprecated.static IRubyObjecteuid(ThreadContext context, IRubyObject recv) static IRubyObjecteuid_set(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObjecteuid_set(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObjecteuid_set(ThreadContext context, IRubyObject arg) static IRubyObjecteuid_set(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectexec(ThreadContext context, IRubyObject self, IRubyObject[] args) static IRubyObjectexit(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjectexit(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectexit_bang(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjectexit_bang(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectfork(ThreadContext context, IRubyObject recv, Block block) static IRubyObjectfork19(ThreadContext context, IRubyObject recv, Block block) Deprecated.static IRubyObjectgetpgid(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObjectgetpgid(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObjectgetpgid(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectDeprecated.static IRubyObjectgetpgrp(IRubyObject recv) Deprecated.static IRubyObjectgetpgrp(ThreadContext context, IRubyObject recv) static IRubyObjectgetpriority(Ruby runtime, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObjectgetpriority(IRubyObject recv, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObjectgetpriority(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2) static IRubyObjectgetrlimit(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObjectgetrlimit(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObjectgetrlimit(ThreadContext context, IRubyObject arg) static IRubyObjectgetrlimit(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectDeprecated.static IRubyObjectgid(IRubyObject recv) Deprecated.static IRubyObjectgid(ThreadContext context) static IRubyObjectgid(ThreadContext context, IRubyObject recv) static IRubyObjectgid_set(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObjectgid_set(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObjectgid_set(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectgroups(IRubyObject recv) Deprecated.static IRubyObjectgroups(ThreadContext context, IRubyObject recv) static IRubyObjectgroups_set(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObjectgroups_set(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectinitgroups(IRubyObject recv, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObjectinitgroups(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2) static IRubyObjectkill(Ruby runtime, IRubyObject[] args) Deprecated.static IRubyObjectkill(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjectkill(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectlast_status(ThreadContext context, IRubyObject recv) static IRubyObjectmaxgroups(IRubyObject recv) Deprecated.static IRubyObjectmaxgroups(ThreadContext context, IRubyObject recv) static IRubyObjectmaxgroups_set(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObjectmaxgroups_set(ThreadContext context, IRubyObject recv, IRubyObject arg) static RubyProcess.RubyStatusnewAllocatedProcessStatus(Ruby runtime, RubyClass metaClass) static IRubyObjectDeprecated.static IRubyObjectpid(IRubyObject recv) Deprecated.static IRubyObjectpid(ThreadContext context) static IRubyObjectpid(ThreadContext context, IRubyObject recv) static IRubyObjectstatic IRubyObjectppid(IRubyObject recv) Deprecated.static IRubyObjectppid(ThreadContext context, IRubyObject recv) static IRubyObjectsetpgid(Ruby runtime, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObjectsetpgid(IRubyObject recv, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObjectsetpgid(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2) static IRubyObjectDeprecated.static IRubyObjectsetpgrp(IRubyObject recv) Deprecated.static IRubyObjectsetpgrp(ThreadContext context, IRubyObject recv) static IRubyObjectsetpriority(Ruby runtime, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) Deprecated.static IRubyObjectsetpriority(IRubyObject recv, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) Deprecated.static IRubyObjectsetpriority(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) static IRubyObjectsetproctitle(IRubyObject recv, IRubyObject name) Deprecated.static IRubyObjectsetproctitle(ThreadContext context, IRubyObject recv, IRubyObject name) static IRubyObjectsetrlimit(ThreadContext context, IRubyObject recv, IRubyObject resource, IRubyObject rlimCur) static IRubyObjectsetrlimit(ThreadContext context, IRubyObject recv, IRubyObject resource, IRubyObject rlimCur, IRubyObject rlimMax) static IRubyObjectDeprecated.static IRubyObjectsetsid(IRubyObject recv) Deprecated.static IRubyObjectsetsid(ThreadContext context, IRubyObject recv) static RubyFixnumspawn(ThreadContext context, IRubyObject recv, IRubyObject[] args) static voidstatic IRubyObjectDeprecated.static IRubyObjecttimes(IRubyObject recv, Block unusedBlock) Deprecated.static IRubyObjecttimes(ThreadContext context) static IRubyObjecttimes(ThreadContext context, IRubyObject recv, Block unusedBlock) static IRubyObjectDeprecated.static IRubyObjectuid(IRubyObject recv) Deprecated.static IRubyObjectuid(ThreadContext context, IRubyObject recv) static IRubyObjectuid_set(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObjectuid_set(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObjectuid_set(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectwait(Ruby runtime, IRubyObject[] args) Deprecated.static IRubyObjectwait(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjectwait(ThreadContext context, IRubyObject[] args) static IRubyObjectwait(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectwait2(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjectwait2(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectDeprecated.static IRubyObjectwaitall(IRubyObject recv) Deprecated.static IRubyObjectwaitall(ThreadContext context) static IRubyObjectwaitall(ThreadContext context, IRubyObject recv) static longDeprecated.static IRubyObjectwaitpid(Ruby runtime, IRubyObject[] args) Deprecated.static IRubyObjectwaitpid(IRubyObject recv, IRubyObject[] args) Deprecated.static longwaitpid(ThreadContext context, long pid, int flags) static IRubyObjectwaitpid(ThreadContext context, IRubyObject[] args) static IRubyObjectwaitpid(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectwaitpid2(Ruby runtime, IRubyObject[] args) static IRubyObjectwaitpid2(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObjectwaitpid2(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectwarmup(ThreadContext context, IRubyObject recv)
-
Field Details
-
CLOCK_MONOTONIC
- See Also:
-
CLOCK_REALTIME
- See Also:
-
CLOCK_UNIT_NANOSECOND
- See Also:
-
CLOCK_UNIT_MICROSECOND
- See Also:
-
CLOCK_UNIT_MILLISECOND
- See Also:
-
CLOCK_UNIT_SECOND
- See Also:
-
CLOCK_UNIT_FLOAT_MICROSECOND
- See Also:
-
CLOCK_UNIT_FLOAT_MILLISECOND
- See Also:
-
CLOCK_UNIT_FLOAT_SECOND
- See Also:
-
CLOCK_UNIT_HERTZ
- See Also:
-
-
Constructor Details
-
RubyProcess
public RubyProcess()
-
-
Method Details
-
createProcessModule
public static RubyModule createProcessModule(ThreadContext context, RubyClass Object, RubyClass Struct) -
newAllocatedProcessStatus
-
abort
-
exit_bang
Deprecated. -
exit_bang
-
groups
Deprecated. -
groups
-
last_status
-
setrlimit
public static IRubyObject setrlimit(ThreadContext context, IRubyObject recv, IRubyObject resource, IRubyObject rlimCur) -
setrlimit
public static IRubyObject setrlimit(ThreadContext context, IRubyObject recv, IRubyObject resource, IRubyObject rlimCur, IRubyObject rlimMax) -
getpgrp
Deprecated. -
getpgrp
-
getpgrp
Deprecated. -
groups_set
Deprecated. -
groups_set
-
waitpid
Deprecated. -
waitpid
-
warmup
-
waitpid
Deprecated. -
waitpid
-
waitpid
Deprecated. -
waitpid
-
wait
Deprecated. -
wait
-
wait
Deprecated. -
wait
-
waitall
Deprecated. -
waitall
-
waitall
Deprecated. -
waitall
-
setsid
Deprecated. -
setsid
-
setsid
Deprecated. -
setpgrp
Deprecated. -
setpgrp
-
setpgrp
Deprecated. -
egid_set
Deprecated. -
egid_set
-
egid_set
Deprecated. -
egid_set
-
euid
Deprecated. -
euid
-
euid
Deprecated. -
uid_set
Deprecated. -
uid_set
-
uid_set
Deprecated. -
gid
Deprecated. -
gid
-
gid
-
gid
Deprecated. -
maxgroups
Deprecated. -
maxgroups
-
getpriority
@Deprecated public static IRubyObject getpriority(IRubyObject recv, IRubyObject arg1, IRubyObject arg2) Deprecated. -
getpriority
public static IRubyObject getpriority(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2) -
getpriority
Deprecated. -
uid
Deprecated. -
uid
-
uid
Deprecated. -
waitpid2
-
waitpid2
-
initgroups
@Deprecated(since="10.0") public static IRubyObject initgroups(IRubyObject recv, IRubyObject arg1, IRubyObject arg2) Deprecated. -
initgroups
public static IRubyObject initgroups(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2) -
maxgroups_set
@Deprecated(since="10.0") public static IRubyObject maxgroups_set(IRubyObject recv, IRubyObject arg) Deprecated. -
maxgroups_set
-
ppid
Deprecated. -
ppid
-
ppid
-
gid_set
Deprecated. -
gid_set
-
gid_set
Deprecated. -
wait2
Deprecated. -
wait2
-
euid_set
Deprecated. -
euid_set
-
euid_set
Deprecated. -
euid_set
-
setpriority
@Deprecated public static IRubyObject setpriority(IRubyObject recv, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) Deprecated. -
setpriority
public static IRubyObject setpriority(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) -
setpriority
@Deprecated public static IRubyObject setpriority(Ruby runtime, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) Deprecated. -
setpgid
Deprecated. -
setpgid
public static IRubyObject setpgid(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2) -
setpgid
Deprecated. -
getpgid
Deprecated. -
getpgid
-
getpgid
Deprecated. -
getrlimit
Deprecated. -
getrlimit
-
getrlimit
Deprecated. -
getrlimit
-
egid
Deprecated. -
egid
-
egid
Deprecated. -
kill
Deprecated. -
kill
-
kill
Deprecated. -
detach
-
times
Deprecated. -
times
-
times
Deprecated. -
times
-
clock_gettime
public static IRubyObject clock_gettime(ThreadContext context, IRubyObject self, IRubyObject _clock_id) -
clock_gettime
public static IRubyObject clock_gettime(ThreadContext context, IRubyObject self, IRubyObject _clock_id, IRubyObject _unit) -
exec
-
clock_getres
public static IRubyObject clock_getres(ThreadContext context, IRubyObject self, IRubyObject _clock_id) -
clock_getres
public static IRubyObject clock_getres(ThreadContext context, IRubyObject self, IRubyObject _clock_id, IRubyObject _unit) -
pid
Deprecated. -
pid
-
pid
Deprecated. -
pid
-
_fork
-
fork19
Deprecated. -
fork
-
spawn
-
exit
Deprecated. -
exit
-
setproctitle
@Deprecated(since="10.0") public static IRubyObject setproctitle(IRubyObject recv, IRubyObject name) Deprecated. -
setproctitle
-
syswait
-
waitpid2
Deprecated.
-