JetBrains / teamcity-runas-plugin

The teamcity-runas plugin to run TeamCity build steps under a specified user account on Windows or Linux.
Apache License 2.0
22 stars 14 forks source link

runAs.cmd fails when password contains asterisk #14

Closed polybioz closed 7 years ago

polybioz commented 7 years ago

Parameters containing asterisk are skipped by FOR cycle which counts command line arguments. More info: http://stackoverflow.com/questions/17071465/escape-asterisk-in-windows-batch-files-for-loop http://stackoverflow.com/questions/1291941/batch-files-number-of-command-line-arguments