次の方法で共有


StartTask.CommandLine プロパティ

定義

開始タスクのコマンド ラインを取得または設定します。

[Newtonsoft.Json.JsonProperty(PropertyName="commandLine")]
public string CommandLine { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="commandLine")>]
member this.CommandLine : string with get, set
Public Property CommandLine As String

プロパティ値

属性
Newtonsoft.Json.JsonPropertyAttribute

注釈

コマンド ラインはシェルでは実行されないため、環境変数の拡張などのシェル機能を利用することはできません。 このような機能を利用する場合は、コマンド ラインでシェルを呼び出す必要があります。たとえば、Windows では "cmd /c MyCommand" を使用し、Linux では "/bin/sh -c MyCommand" を使用します。 startTask の他のプロパティが指定されている場合は必須です。

適用対象