ProcessGroupImplOE
Process group with bound output and error streams
Type members
Inherited classlikes
Types
Value members
Concrete methods
The low level method to attach an input to a process or process group.
The low level method to attach an input to a process or process group.
Use the other methods in this trait for convenience.
- Value parameters:
- source
Redirection source
- Returns:
A new process or process group with the input redirected and the input redirection capability removed.
- Definition Classes
Inherited methods
Feed the process input from a byte stream with flushing per chunks enabled.
Feed the process input from a byte stream with flushing per chunks enabled.
An alias for fromStream.
- Value parameters:
- stream
Input stream
- Returns:
A new process or process group with the input redirected and the input redirection capability removed.
- Inherited from:
- RedirectableInput
Feed the process input from a byte stream.
Feed the process input from a byte stream.
An alias for fromStream.
- Value parameters:
- stream
Input stream
- Returns:
A new process or process group with the input redirected and the input redirection capability removed.
- Inherited from:
- RedirectableInput
Feed the process input from a file natively.
Feed the process input from a file natively.
An alias for fromFile.
- Value parameters:
- path
Path to the file
- Returns:
A new process or process group with the input redirected and the input redirection capability removed.
- Inherited from:
- RedirectableInput
Adds an environment variable to the process
Adds an environment variable to the process
- Value parameters:
- nameValuePair
A pair of name and value
- Returns:
a new process with the working directory set
- Inherited from:
- ProcessLikeConfiguration
- Definition Classes
- Inherited from:
- ProcessGroupConfiguration
Feed the process input from a file natively.
Feed the process input from a file natively.
An alias for <.
- Value parameters:
- path
Path to the file
- Returns:
A new process or process group with the input redirected and the input redirection capability removed.
- Inherited from:
- RedirectableInput
Feed the process input from a byte stream.
- Value parameters:
- flushChunks
Flush the process input stream after each chunk
- stream
Input stream
- Returns:
A new process or process group with the input redirected and the input redirection capability removed.
- Inherited from:
- RedirectableInput
Changes the working directory of the process
Changes the working directory of the process
- Value parameters:
- workingDirectory
the working directory
- Returns:
a new process with the working directory set
- Inherited from:
- ProcessLikeConfiguration
Use the inherited working directory of the process instead of an explicit one
Use the inherited working directory of the process instead of an explicit one
- Returns:
a new process with the working directory cleared
- Inherited from:
- ProcessLikeConfiguration
Starts the process group asynchronously and blocks the execution until it is finished
Starts the process group asynchronously and blocks the execution until it is finished
- Value parameters:
- runner
The process runner to be used
- Returns:
the result of the finished processes
- Inherited from:
- ProcessGroup
Starts the process group asynchronously and returns a closeable fiber representing it
Starts the process group asynchronously and returns a closeable fiber representing it
Joining the fiber waits for the processes to be terminated. Canceling the fiber terminates the processesnormally (with SIGTERM).
- Value parameters:
- runner
The process runner to be used
- Returns:
a managed fiber representing the running processes
- Inherited from:
- ProcessGroup
Starts the process group asynchronously and returns the RunningProcessGroup interface for it
Starts the process group asynchronously and returns the RunningProcessGroup interface for it
This is the most advanced way to start process groups. See start and run as alternatives.
- Type parameters:
- Info
The runner-specific information about the started processes
- Value parameters:
- runner
The process runner to be used
- Returns:
interface for handling the running process group
- Inherited from:
- ProcessGroup
Removes an environment variable from the process
Removes an environment variable from the process
Usable to remove variables inherited from the parent process.
- Value parameters:
- name
Name of the environment variable
- Returns:
a new process with the working directory set
- Inherited from:
- ProcessLikeConfiguration