# process.arg ## Function Append a command line argument. ## Syntax ```bt process(program).arg(value) ``` ## Parameters | Parameters | Type | Required | Default value | Description | | ------ | ------ | ------ | ------ | ------ | | value | Any | No | None | The parameter to be appended will be converted to a string first when calling. | ## Return value | Type | Description | | ------ | ------ | | Process | Returns the new process builder. | ## Example ```bt cmd = process('cmd').arg('/C').arg('echo BT') result = cmd.get_args() // Output: ["/C","echo BT"] print result ``` ## Notes - The example uses Windows cmd; Linux/macOS can be changed to process('sh').args(['-c', 'echo BT']).