mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Updated raise_err sysdoc in cmdrun.run
This commit is contained in:
parent
0f3d784c0f
commit
5cd71c0036
@ -874,8 +874,9 @@ def run(cmd,
|
|||||||
:param bool encoded_cmd: Specify if the supplied command is encoded.
|
:param bool encoded_cmd: Specify if the supplied command is encoded.
|
||||||
Only applies to shell 'powershell'.
|
Only applies to shell 'powershell'.
|
||||||
|
|
||||||
:pram bool raise_err: Specifies whether to raise a CommandExecutionError.
|
:param bool raise_err: Specifies whether to raise a CommandExecutionError.
|
||||||
If False, the error will be logged. Default is False.
|
If False, the error will be logged, but no exception will be raised.
|
||||||
|
Default is False.
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
This function does not process commands through a shell
|
This function does not process commands through a shell
|
||||||
|
Loading…
Reference in New Issue
Block a user