JobReleaseTask.withCommandLine(String commandLine) 方法

定义

Set the command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).

public JobReleaseTask withCommandLine(String commandLine)

参数

commandLine
String

the commandLine value to set

返回

the JobReleaseTask object itself.

适用于