Represents a separate native process.

no type hierarchy

no supertypes hierarchy

no subtypes hierarchy

Attributes
argumentsSource Codeshared formal {String*} arguments

The arguments to the command.

commandSource Codeshared formal String command

A command, usually the name or path of a program to execute.

environmentSource Codeshared formal {<String->String>*} environment

The environment variables of the process.

errorSource Codeshared formal Error|Reader error

The standard error stream of the process. This is a Reader in the case that the standard error is being piped back to the current process.

exitCodeSource Codeshared formal Integer? exitCode

The exit code of the terminated process, or null if the process has not yet terminated. Normal termination is conventionally indicated by the exit code 0.

inputSource Codeshared formal Input|Writer input

The standard input stream of the process. This is a Writer in the case that the standard input is being piped from the current process.

outputSource Codeshared formal Output|Reader output

The standard output stream of the process. This is a Reader in the case that the standard output is being piped back to the current process.

pathSource Codeshared formal Path path

The directory in which the process runs.

terminatedSource Codeshared formal Boolean terminated

Determine if the process has terminated.

Inherited Attributes
Attributes inherited from: Object
Methods
killSource Codeshared formal void kill()

Force the process to terminate.

waitForExitSource Codeshared formal Integer waitForExit()

Wait for the process to terminate, returning the exit code. Normal termination is conventionally indicated by the exit code 0.

Inherited Methods
Methods inherited from: Object