rundeck-plugins / py-winrm-plugin

15 stars 21 forks source link

PyWinRM fails when using options or arguments with simple quotes #70

Closed nvalenzuela20 closed 3 years ago

nvalenzuela20 commented 3 years ago

Environment: Rundeck Enterprise 3.3.6 PyWinRM 2.0.11 - CMD interpreter (Powershell not allowed) Not happening on JSCH for linux nodes.

When using options or arguments to send the command to Windows, Rundeck adds simple quotes to the command if a variable is concatenated with any word.

CMD doesn't recognize simple quotes

Options: image

image

Arguments:

image

image

nvalenzuela20 commented 3 years ago

Tested by @dlvcrk

jtobard commented 3 years ago

closed by #71