Calls the L<fork|https://linux.die.net/man/2/fork> function and returns its returnvalue.
Exceptions:
If the forkfunction failed, an exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::System|SPVM::Error::System> class.
In Windows, the following exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::NotSupported|SPVM::Error::NotSupported> class. forkis not supported in this system(defined(_WIN32)).
Calls the L<getpriority|https://linux.die.net/man/2/getpriority> function and returns its returnvalue.
See L<Sys::Process::Constant|SPVM::Sys::Process::Constant> about constant valuesgivento $which.
Exceptions:
If the getpriorityfunction failed, an exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::System|SPVM::Error::System> class.
In Windows, the following exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::NotSupported|SPVM::Error::NotSupported> class. getpriorityis not supported in this system(defined(_WIN32)).
Calls the L<setpriority|https://linux.die.net/man/2/setpriority> function and returns its returnvalue.
See L<Sys::Process::Constant|SPVM::Sys::Process::Constant> about constant valuesgivento $which.
Exceptions:
If the setpriorityfunction failed, an exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::System|SPVM::Error::System> class.
In Windows, the following exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::NotSupported|SPVM::Error::NotSupported> class. setpriorityis not supported in this system(defined(_WIN32)).
=head2 sleep
C<static method sleep: int($seconds: int);>
Calls the L<sleep|https://linux.die.net/man/3/sleep> function and returns its returnvalue.
=head2 usleep
C<static method usleep : int($usec: int);>
Calls the L<usleep|https://linux.die.net/man/3/usleep> function and returns its returnvalue.
If the usleep function failed, an exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::System|SPVM::Error::System> class.
=head2 wait
C<static method wait: int($wstatus: int*);>
Calls the L<wait|https://linux.die.net/man/2/wait> function and returns its returnvalue.
Exceptions:
If the waitfunction failed, an exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::System|SPVM::Error::System> class.
In Windows, the following exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::NotSupported|SPVM::Error::NotSupported> class. waitis not supported in this system(defined(_WIN32)).
Calls the L<waitpid|https://linux.die.net/man/2/waitpid> function and returns its returnvalue.
See L<Sys::Process::Constant|SPVM::Sys::Process::Constant> about constant valuesgivento $options.
Exceptions:
If the waitpidfunction failed, an exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::System|SPVM::Error::System> class.
In Windows, the following exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::NotSupported|SPVM::Error::NotSupported> class. waitpidis not supported in this system(defined(_WIN32)).
=head2 system
C<static method system: int($command: string);>
Calls the L<system|https://linux.die.net/man/3/system> function and returns its returnvalue.
Exceptions:
If the systemfunction failed, an exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::System|SPVM::Error::System> class.
=head2 exit
C<static method exit: int($status: int);>
Calls the L<exit|https://linux.die.net/man/3/exit> function and returns its returnvalue.
See L<Sys::Process::Constant|SPVM::Sys::Process::Constant> about constant valuesgivento $satus.
=head2 pipe
C<static method pipe: int($pipe_fds: int[]);>
Calls the L<pipe|https://linux.die.net/man/2/pipe> function and returns its returnvalue.
Exceptions:
$pipefdsmust be defined. Otherwise an exception is thrown.
The lengthof $pipefdsmust 2. Otherwise an exception is thrown.
If the pipefunction failed, an exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::System|SPVM::Error::System> class.
In Windows, the following exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::NotSupported|SPVM::Error::NotSupported> class. pipeis not supported in this system(defined(_WIN32)).
$pipefdsmust be defined. Otherwise an exception is thrown.
The lengthof $pipefdsmust 2. Otherwise an exception is thrown.
If the _pipe function failed, an exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::System|SPVM::Error::System> class.
In OSs other than Windows, the following exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::NotSupported|SPVM::Error::NotSupported> class. _pipe is not supported in this system(!defined(_WIN32)).
=head2 getpgid
C<static method getpgid : int($pid: int);>
Calls the L<getpgid|https://linux.die.net/man/2/getpgid> function and returns its returnvalue.
Exceptions:
If the getpgid function failed, an exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::System|SPVM::Error::System> class.
In Windows, the following exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::NotSupported|SPVM::Error::NotSupported> class. getpgid is not supported in this system(defined(_WIN32)).
Calls the L<setpgid|https://linux.die.net/man/2/setpgid> function and returns its returnvalue.
Exceptions:
If the setpgid function failed, an exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::System|SPVM::Error::System> class.
In Windows, the following exception is thrown withC<eval_error_id> set to the basic type ID of the L<Error::NotSupported|SPVM::Error::NotSupported> class. setpgid is not supported in this system(defined(_WIN32)).
=head2 getpid
C<static method getpid : int();>
Calls the L<getpid|https://linux.die.net/man/2/getpid> function and returns its returnvalue.
=head2 getppid
C<static method getppid: int();>
Calls the L<getppid|https://linux.die.net/man/2/getppid> function and returns its returnvalue.