Android Guides | Samples

Java.Lang.ProcessBuilder Class

Creates operating system processes.

See Also: ProcessBuilder

Syntax

[Android.Runtime.Register("java/lang/ProcessBuilder", DoNotGenerateAcw=true)]
public sealed class ProcessBuilder : Object

Remarks

Creates operating system processes. See Process for documentation and example usage.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.ProcessBuilder are listed below.

See Also: Object

Public Constructors

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Command() : IList<string>
Returns this process builder's current program and arguments.
Command(IList<string>) : ProcessBuilder
Command(params String[]) : ProcessBuilder
Directory() : File
Returns the working directory of this process builder.
Directory(File) : ProcessBuilder
Changes the working directory of this process builder.
Environment() : IDictionary<string, string>
Returns this process builder's current environment.
InheritIO() : ProcessBuilder
RedirectError(File) : ProcessBuilder
RedirectErrorStream() : Boolean
Indicates whether the standard error should be redirected to standard output.
RedirectErrorStream(Boolean) : ProcessBuilder
Changes the state of whether or not standard error is redirected to standard output.
RedirectInput(File) : ProcessBuilder
RedirectOutput(File) : ProcessBuilder
Start() : Process
Starts a new process based on the current state of this process builder.