Package org.jruby
Class RubyProcess
java.lang.Object
org.jruby.RubyProcess
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRubyObject
_fork
(ThreadContext context, IRubyObject recv, Block block) static IRubyObject
abort
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
clock_getres
(ThreadContext context, IRubyObject self, IRubyObject _clock_id) static IRubyObject
clock_getres
(ThreadContext context, IRubyObject self, IRubyObject _clock_id, IRubyObject _unit) static IRubyObject
clock_gettime
(ThreadContext context, IRubyObject self, IRubyObject _clock_id) static IRubyObject
clock_gettime
(ThreadContext context, IRubyObject self, IRubyObject _clock_id, IRubyObject _unit) static RubyModule
createProcessModule
(ThreadContext context, RubyClass Object, RubyClass Struct) static IRubyObject
detach
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
Deprecated.static IRubyObject
egid
(IRubyObject recv) Deprecated.static IRubyObject
egid
(ThreadContext context, IRubyObject recv) static IRubyObject
egid_set
(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObject
egid_set
(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObject
egid_set
(ThreadContext context, IRubyObject arg) static IRubyObject
egid_set
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
Deprecated.static IRubyObject
euid
(IRubyObject recv) Deprecated.static IRubyObject
euid
(ThreadContext context, IRubyObject recv) static IRubyObject
euid_set
(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObject
euid_set
(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObject
euid_set
(ThreadContext context, IRubyObject arg) static IRubyObject
euid_set
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
exec
(ThreadContext context, IRubyObject self, IRubyObject[] args) static IRubyObject
exit
(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
exit
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
exit_bang
(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
exit_bang
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
fork
(ThreadContext context, IRubyObject recv, Block block) static IRubyObject
fork19
(ThreadContext context, IRubyObject recv, Block block) Deprecated.static IRubyObject
getpgid
(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObject
getpgid
(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObject
getpgid
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
Deprecated.static IRubyObject
getpgrp
(IRubyObject recv) Deprecated.static IRubyObject
getpgrp
(ThreadContext context, IRubyObject recv) static IRubyObject
getpriority
(Ruby runtime, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObject
getpriority
(IRubyObject recv, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObject
getpriority
(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2) static IRubyObject
getrlimit
(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObject
getrlimit
(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObject
getrlimit
(ThreadContext context, IRubyObject arg) static IRubyObject
getrlimit
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
Deprecated.static IRubyObject
gid
(IRubyObject recv) Deprecated.static IRubyObject
gid
(ThreadContext context) static IRubyObject
gid
(ThreadContext context, IRubyObject recv) static IRubyObject
gid_set
(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObject
gid_set
(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObject
gid_set
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
groups
(IRubyObject recv) Deprecated.static IRubyObject
groups
(ThreadContext context, IRubyObject recv) static IRubyObject
groups_set
(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObject
groups_set
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
initgroups
(IRubyObject recv, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObject
initgroups
(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2) static IRubyObject
kill
(Ruby runtime, IRubyObject[] args) Deprecated.static IRubyObject
kill
(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
kill
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
last_status
(ThreadContext context, IRubyObject recv) static IRubyObject
maxgroups
(IRubyObject recv) Deprecated.static IRubyObject
maxgroups
(ThreadContext context, IRubyObject recv) static IRubyObject
maxgroups_set
(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObject
maxgroups_set
(ThreadContext context, IRubyObject recv, IRubyObject arg) static RubyProcess.RubyStatus
newAllocatedProcessStatus
(Ruby runtime, RubyClass metaClass) static IRubyObject
Deprecated.static IRubyObject
pid
(IRubyObject recv) Deprecated.static IRubyObject
pid
(ThreadContext context) static IRubyObject
pid
(ThreadContext context, IRubyObject recv) static IRubyObject
static IRubyObject
ppid
(IRubyObject recv) Deprecated.static IRubyObject
ppid
(ThreadContext context, IRubyObject recv) static IRubyObject
setpgid
(Ruby runtime, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObject
setpgid
(IRubyObject recv, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObject
setpgid
(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2) static IRubyObject
Deprecated.static IRubyObject
setpgrp
(IRubyObject recv) Deprecated.static IRubyObject
setpgrp
(ThreadContext context, IRubyObject recv) static IRubyObject
setpriority
(Ruby runtime, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) Deprecated.static IRubyObject
setpriority
(IRubyObject recv, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) Deprecated.static IRubyObject
setpriority
(ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) static IRubyObject
setproctitle
(IRubyObject recv, IRubyObject name) Deprecated.static IRubyObject
setproctitle
(ThreadContext context, IRubyObject recv, IRubyObject name) static IRubyObject
setrlimit
(ThreadContext context, IRubyObject recv, IRubyObject resource, IRubyObject rlimCur) static IRubyObject
setrlimit
(ThreadContext context, IRubyObject recv, IRubyObject resource, IRubyObject rlimCur, IRubyObject rlimMax) static IRubyObject
Deprecated.static IRubyObject
setsid
(IRubyObject recv) Deprecated.static IRubyObject
setsid
(ThreadContext context, IRubyObject recv) static RubyFixnum
spawn
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static void
static IRubyObject
Deprecated.static IRubyObject
times
(IRubyObject recv, Block unusedBlock) Deprecated.static IRubyObject
times
(ThreadContext context) static IRubyObject
times
(ThreadContext context, IRubyObject recv, Block unusedBlock) static IRubyObject
Deprecated.static IRubyObject
uid
(IRubyObject recv) Deprecated.static IRubyObject
uid
(ThreadContext context, IRubyObject recv) static IRubyObject
uid_set
(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObject
uid_set
(IRubyObject recv, IRubyObject arg) Deprecated.static IRubyObject
uid_set
(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObject
wait
(Ruby runtime, IRubyObject[] args) Deprecated.static IRubyObject
wait
(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
wait
(ThreadContext context, IRubyObject[] args) static IRubyObject
wait
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
wait2
(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
wait2
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
Deprecated.static IRubyObject
waitall
(IRubyObject recv) Deprecated.static IRubyObject
waitall
(ThreadContext context) static IRubyObject
waitall
(ThreadContext context, IRubyObject recv) static long
Deprecated.static IRubyObject
waitpid
(Ruby runtime, IRubyObject[] args) Deprecated.static IRubyObject
waitpid
(IRubyObject recv, IRubyObject[] args) Deprecated.static long
waitpid
(ThreadContext context, long pid, int flags) static IRubyObject
waitpid
(ThreadContext context, IRubyObject[] args) static IRubyObject
waitpid
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
waitpid2
(Ruby runtime, IRubyObject[] args) static IRubyObject
waitpid2
(IRubyObject recv, IRubyObject[] args) Deprecated.static IRubyObject
waitpid2
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
warmup
(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.
-