Forks the configured process, waits for it to complete, and returns the exit code.
Forks the configured process, waits for it to complete, and returns the exit code.
The command executed is the commandName defined for this Fork instance.
It is configured according to config.
If runnerClass is defined for this Fork instance, it is prepended to arguments to define the arguments passed to the forked command.
The java-like binary to fork.
The java-like binary to fork. This is expected to exist in bin/ of the Java home directory.
Forks the configured process and returns a Process that can be used to wait for completion or to terminate the forked process.
Forks the configured process and returns a Process that can be used to wait for completion or to terminate the forked process.
The command executed is the commandName defined for this Fork instance.
It is configured according to config.
If runnerClass is defined for this Fork instance, it is prepended to arguments to define the arguments passed to the forked command.
If Some, this will be prepended to the arguments passed to the apply or fork methods.
Represents a commad that can be forked.