ProcessBuilder.RedirectError Method

Definition

Overloads

RedirectError(ProcessBuilder+Redirect)

Returns this process builder's standard error destination.

RedirectError(File)

Sets this process builder's standard error destination to a file.

RedirectError()

Returns this process builder's standard error destination.

RedirectError(ProcessBuilder+Redirect)

Returns this process builder's standard error destination.

[Android.Runtime.Register("redirectError", "(Ljava/lang/ProcessBuilder$Redirect;)Ljava/lang/ProcessBuilder;", "", ApiSince=26)]
public Java.Lang.ProcessBuilder? RedirectError (Java.Lang.ProcessBuilder.Redirect? destination);
[<Android.Runtime.Register("redirectError", "(Ljava/lang/ProcessBuilder$Redirect;)Ljava/lang/ProcessBuilder;", "", ApiSince=26)>]
member this.RedirectError : Java.Lang.ProcessBuilder.Redirect -> Java.Lang.ProcessBuilder

Parameters

Returns

this process builder's standard error destination

Attributes

Remarks

Java documentation for java.lang.ProcessBuilder.redirectError().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

RedirectError(File)

Sets this process builder's standard error destination to a file.

[Android.Runtime.Register("redirectError", "(Ljava/io/File;)Ljava/lang/ProcessBuilder;", "", ApiSince=26)]
public Java.Lang.ProcessBuilder? RedirectError (Java.IO.File? file);
[<Android.Runtime.Register("redirectError", "(Ljava/io/File;)Ljava/lang/ProcessBuilder;", "", ApiSince=26)>]
member this.RedirectError : Java.IO.File -> Java.Lang.ProcessBuilder

Parameters

file
File

the new standard error destination

Returns

this process builder

Attributes

Remarks

Sets this process builder's standard error destination to a file.

This is a convenience method. An invocation of the form redirectError(file) behaves in exactly the same way as the invocation #redirectError(Redirect) redirectError(Redirect.to(file)).

Added in 1.7.

Java documentation for java.lang.ProcessBuilder.redirectError(java.io.File).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

RedirectError()

Returns this process builder's standard error destination.

[Android.Runtime.Register("redirectError", "()Ljava/lang/ProcessBuilder$Redirect;", "", ApiSince=26)]
public Java.Lang.ProcessBuilder.Redirect? RedirectError ();
[<Android.Runtime.Register("redirectError", "()Ljava/lang/ProcessBuilder$Redirect;", "", ApiSince=26)>]
member this.RedirectError : unit -> Java.Lang.ProcessBuilder.Redirect

Returns

this process builder's standard error destination

Attributes

Remarks

Java documentation for java.lang.ProcessBuilder.redirectError().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to