Aracılığıyla paylaş


ProcessBuilder.Command Method

Definition

Overloads

Command()

Returns this process builder's operating system program and arguments.

Command(IList<String>)

Sets this process builder's operating system program and arguments.

Command(String[])

Returns this process builder's operating system program and arguments.

Command()

Returns this process builder's operating system program and arguments.

[Android.Runtime.Register("command", "()Ljava/util/List;", "")]
public System.Collections.Generic.IList<string>? Command ();
[<Android.Runtime.Register("command", "()Ljava/util/List;", "")>]
member this.Command : unit -> System.Collections.Generic.IList<string>

Returns

this process builder's program and its arguments

Attributes

Remarks

Returns this process builder's operating system program and arguments. The returned list is not a copy. Subsequent updates to the list will be reflected in the state of this process builder.

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

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

Command(IList<String>)

Sets this process builder's operating system program and arguments.

[Android.Runtime.Register("command", "(Ljava/util/List;)Ljava/lang/ProcessBuilder;", "")]
public Java.Lang.ProcessBuilder? Command (System.Collections.Generic.IList<string>? command);
[<Android.Runtime.Register("command", "(Ljava/util/List;)Ljava/lang/ProcessBuilder;", "")>]
member this.Command : System.Collections.Generic.IList<string> -> Java.Lang.ProcessBuilder

Parameters

command
IList<String>

the list containing the program and its arguments

Returns

this process builder

Attributes

Remarks

Sets this process builder's operating system program and arguments. This method does not make a copy of the command list. Subsequent updates to the list will be reflected in the state of the process builder. It is not checked whether command corresponds to a valid operating system command.

Java documentation for java.lang.ProcessBuilder.command(java.util.List<java.lang.String>).

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

Command(String[])

Returns this process builder's operating system program and arguments.

[Android.Runtime.Register("command", "([Ljava/lang/String;)Ljava/lang/ProcessBuilder;", "")]
public Java.Lang.ProcessBuilder? Command (params string[]? command);
[<Android.Runtime.Register("command", "([Ljava/lang/String;)Ljava/lang/ProcessBuilder;", "")>]
member this.Command : string[] -> Java.Lang.ProcessBuilder

Parameters

command
String[]

Returns

this process builder's program and its arguments

Attributes

Remarks

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

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