Android Guides | Samples

Java.Lang.ProcessBuilder.Start Method

Starts a new process based on the current state of this process builder.

Syntax

[Android.Runtime.Register("start", "()Ljava/lang/Process;", "")]
public Process Start ()

Exceptions

TypeReason
NullPointerExceptionif any of the elements of ProcessBuilder.Command is null.
IndexOutOfBoundsExceptionif ProcessBuilder.Command is empty.
IOExceptionif an I/O error happens.

Remarks

Starts a new process based on the current state of this process builder.

[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