Top Inners Fields Constructors Methods
org.jruby

public Class RubyProcess

extends Object
Class Inheritance
Annotations
@JRubyModule
name:Process
Imports
jnr.constants.platform.RLIM, .RLIMIT, .Sysconf, jnr.ffi.byref.IntByReference, jnr.posix.Group, .POSIX, .Passwd, .RLimit, .Times, .Timeval, org.jruby.anno.JRubyClass, .JRubyMethod, .JRubyModule, org.jruby.api.Convert, org.jruby.exceptions.RaiseException, org.jruby.javasupport.JavaUtil, org.jruby.platform.Platform, org.jruby.runtime.Arity, .Block, .BlockCallback, .CallBlock, .ObjectMarshal, .Signature, .ThreadContext, org.jruby.runtime.builtin.IRubyObject, .Variable, org.jruby.runtime.component.VariableEntry, org.jruby.runtime.invokedynamic.MethodNames, org.jruby.runtime.marshal.CoreObjectType, .MarshalDumper, .MarshalLoader, org.jruby.util.ShellLauncher, .TypeConverter, org.jruby.util.cli.Options, org.jruby.util.io.PopenExecutor, .PosixShim, .RubyInputStream, .RubyOutputStream, java.io.IOException, java.lang.invoke.MethodHandle, .MethodHandles, java.lang.management.ManagementFactory, .ThreadMXBean, java.lang.reflect.Method, java.util.List, java.util.function.ToIntFunction

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
private static interface
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
private static final RubyProcess.NonNativeErrno
private static final RubyProcess.NonNativeErrno
private static final MethodHandles.Lookup
private static final MethodHandle
private static final MethodHandle
private static final ObjectMarshal<T>
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static IRubyObject
_fork(ThreadContext context, IRubyObject recv, Block block)

public static IRubyObject
abort(ThreadContext context, IRubyObject recv, IRubyObject[] args)

private static int
checkErrno(ThreadContext context, int result)

private static long
checkErrno(ThreadContext context, long result, RubyProcess.NonNativeErrno nonNative)

public static IRubyObject
public static IRubyObject
public static IRubyObject
public static IRubyObject
private static RaiseException
clockError(ThreadContext context, String clockMethod, IRubyObject _clock_id)

public static RubyModule
public static IRubyObject
public static IRubyObject
egid(IRubyObject recv)
Deprecated

public static IRubyObject
public static IRubyObject
egid(Ruby runtime)
Deprecated

public static IRubyObject
egid_set(IRubyObject recv, IRubyObject arg)
Deprecated

public static IRubyObject
public static IRubyObject
egid_set(Ruby runtime, IRubyObject arg)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
euid(IRubyObject recv)
Deprecated

public static IRubyObject
public static IRubyObject
euid(Ruby runtime)
Deprecated

public static IRubyObject
euid_set(IRubyObject recv, IRubyObject arg)
Deprecated

public static IRubyObject
public static IRubyObject
euid_set(Ruby runtime, IRubyObject arg)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
exec(ThreadContext context, IRubyObject self, IRubyObject[] args)

public static IRubyObject
exit(IRubyObject recv, IRubyObject[] args)
Deprecated since 10.0.

public static IRubyObject
exit(ThreadContext context, IRubyObject recv, IRubyObject[] args)

public static IRubyObject
exit_bang(IRubyObject recv, IRubyObject[] args)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
fork(ThreadContext context, IRubyObject recv, Block block)

public static IRubyObject
fork19(ThreadContext context, IRubyObject recv, Block block)
Deprecated

public static IRubyObject
getpgid(IRubyObject recv, IRubyObject arg)
Deprecated

public static IRubyObject
public static IRubyObject
getpgid(Ruby runtime, IRubyObject arg)
Deprecated

public static IRubyObject
getpgrp(IRubyObject recv)
Deprecated

public static IRubyObject
public static IRubyObject
getpgrp(Ruby runtime)
Deprecated since 10.0.

public static IRubyObject
getpriority(IRubyObject recv, IRubyObject arg1, IRubyObject arg2)
Deprecated

public static IRubyObject
public static IRubyObject
getpriority(Ruby runtime, IRubyObject arg1, IRubyObject arg2)
Deprecated

private static long
getResolutionForClock(ThreadContext context, IRubyObject _clock_id)

Get the time resolution in nanoseconds corresponding to the requested clock.

public static IRubyObject
getrlimit(IRubyObject recv, IRubyObject arg)
Deprecated

public static IRubyObject
public static IRubyObject
getrlimit(Ruby runtime, IRubyObject arg)
Deprecated since 10.0.

public static IRubyObject
private static long
getTimeForClock(ThreadContext context, IRubyObject _clock_id)

Get the time in nanoseconds corresponding to the requested clock.

public static IRubyObject
gid(IRubyObject recv)
Deprecated

public static IRubyObject
gid(ThreadContext context, IRubyObject recv)

public static IRubyObject
gid(ThreadContext context)

public static IRubyObject
gid(Ruby runtime)
Deprecated

public static IRubyObject
gid_set(IRubyObject recv, IRubyObject arg)
Deprecated

public static IRubyObject
public static IRubyObject
gid_set(Ruby runtime, IRubyObject arg)
Deprecated

public static IRubyObject
groups(IRubyObject recv)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
groups_set(IRubyObject recv, IRubyObject arg)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
initgroups(IRubyObject recv, IRubyObject arg1, IRubyObject arg2)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
kill(IRubyObject recv, IRubyObject[] args)
Deprecated

public static IRubyObject
kill(ThreadContext context, IRubyObject recv, IRubyObject[] args)

public static IRubyObject
kill(Ruby runtime, IRubyObject[] args)
Deprecated

public static IRubyObject
private static IRubyObject
makeClockResolutionResult(ThreadContext context, long nanos, String unit)

private static IRubyObject
makeClockResult(ThreadContext context, long nanos, String unit)

public static IRubyObject
maxgroups(IRubyObject recv)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
maxgroups_set(IRubyObject recv, IRubyObject arg)
Deprecated since 10.0.

public static IRubyObject
public static RubyProcess.RubyStatus
private static int
public static IRubyObject
pid(IRubyObject recv)
Deprecated

public static IRubyObject
pid(ThreadContext context, IRubyObject recv)

public static IRubyObject
pid(Ruby runtime)
Deprecated

public static IRubyObject
pid(ThreadContext context)

public static IRubyObject
ppid(IRubyObject recv)
Deprecated

public static IRubyObject
public static IRubyObject
ppid(Ruby runtime)

private static int
private static void
private static int
rlimitResourceName2int(String name, int casetype)

private static int
private static long
private static int
public static IRubyObject
setpgid(IRubyObject recv, IRubyObject arg1, IRubyObject arg2)
Deprecated

public static IRubyObject
public static IRubyObject
setpgid(Ruby runtime, IRubyObject arg1, IRubyObject arg2)
Deprecated

public static IRubyObject
setpgrp(IRubyObject recv)
Deprecated

public static IRubyObject
public static IRubyObject
setpgrp(Ruby runtime)
Deprecated

public static IRubyObject
setpriority(IRubyObject recv, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
Deprecated

public static IRubyObject
public static IRubyObject
setpriority(Ruby runtime, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
Deprecated

public static IRubyObject
setproctitle(IRubyObject recv, IRubyObject name)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
setrlimit(ThreadContext context, IRubyObject recv, IRubyObject resource, IRubyObject rlimCur)

public static IRubyObject
setrlimit(ThreadContext context, IRubyObject recv, IRubyObject resource, IRubyObject rlimCur, IRubyObject rlimMax)

public static IRubyObject
setsid(IRubyObject recv)
Deprecated

public static IRubyObject
public static IRubyObject
setsid(Ruby runtime)
Deprecated

public static RubyFixnum
spawn(ThreadContext context, IRubyObject recv, IRubyObject[] args)

public static void
syswait(Ruby runtime, int pid)

public static IRubyObject
times(IRubyObject recv, Block unusedBlock)
Deprecated

public static IRubyObject
times(ThreadContext context, IRubyObject recv, Block unusedBlock)

public static IRubyObject
times(Ruby runtime)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
uid(IRubyObject recv)
Deprecated

public static IRubyObject
uid(ThreadContext context, IRubyObject recv)

public static IRubyObject
uid(Ruby runtime)
Deprecated

public static IRubyObject
uid_set(IRubyObject recv, IRubyObject arg)
Deprecated

public static IRubyObject
public static IRubyObject
uid_set(Ruby runtime, IRubyObject arg)
Deprecated

public static IRubyObject
wait(IRubyObject recv, IRubyObject[] args)
Deprecated

public static IRubyObject
wait(ThreadContext context, IRubyObject recv, IRubyObject[] args)

public static IRubyObject
wait(Ruby runtime, IRubyObject[] args)
Deprecated since 10.0.

public static IRubyObject
wait(ThreadContext context, IRubyObject[] args)

public static IRubyObject
wait2(IRubyObject recv, IRubyObject[] args)
Deprecated

public static IRubyObject
wait2(ThreadContext context, IRubyObject recv, IRubyObject[] args)

public static IRubyObject
waitall(IRubyObject recv)
Deprecated

public static IRubyObject
public static IRubyObject
waitall(Ruby runtime)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
waitpid(IRubyObject recv, IRubyObject[] args)
Deprecated

public static IRubyObject
public static IRubyObject
waitpid(Ruby runtime, IRubyObject[] args)
Deprecated since 10.0.

public static IRubyObject
public static long
waitpid(Ruby runtime, long pid, int flags)
Deprecated

public static long
waitpid(ThreadContext context, long pid, int flags)

public static IRubyObject
public static IRubyObject
waitpid2(Ruby runtime, IRubyObject[] args)

public static IRubyObject
waitpid2(IRubyObject recv, IRubyObject[] args)
Deprecated

pack-priv static IRubyObject
waitpidStatus(ThreadContext context, long pid, int flags)

public static IRubyObject
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait