Skip to content

Commit d18d69e

Browse files
jsblock78hp-jsblov-ibshaik
authored
Escape dollar sign characters that may be in the arguments before calling iex (#15563)
* Escape dollar sign characters that may be in the arguments (path for example) before calling iex * Update task versions * Updated task version of Azrefilecopyv5 Co-authored-by: Jeffrey Block <[email protected]> Co-authored-by: v-ibshaik <[email protected]> Co-authored-by: v-ibshaik <[email protected]>
1 parent e8543d6 commit d18d69e

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

Tasks/AzureFileCopyV2/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 2,
16-
"Minor": 198,
16+
"Minor": 200,
1717
"Patch": 0
1818
},
1919
"demands": [

Tasks/AzureFileCopyV3/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 3,
16-
"Minor": 198,
16+
"Minor": 200,
1717
"Patch": 0
1818
},
1919
"demands": [

Tasks/AzureFileCopyV4/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 4,
16-
"Minor": 198,
16+
"Minor": 200,
1717
"Patch": 0
1818
},
1919
"demands": [

Tasks/AzureFileCopyV5/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 5,
16-
"Minor": 198,
16+
"Minor": 200,
1717
"Patch": 0
1818
},
1919
"demands": [

Tasks/AzureFileCopyV5/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 5,
16-
"Minor": 198,
16+
"Minor": 200,
1717
"Patch": 0
1818
},
1919
"demands": [

Tasks/Common/RemoteDeployer/RunPowerShellScriptJob.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ExecutePsScript = {
1919
[string] $toolPath,
2020
[string] $toolArgs
2121
)
22-
$command = "& '$($toolPath.Replace('"', '').Replace("'", "''"))' $($toolArgs.Trim())"
22+
$command = "& '$($toolPath.Replace('"', '').Replace("'", "''"))' $($toolArgs.Trim().Replace('$','`$'))"
2323
Write-Host "##[command]$command"
2424
Invoke-Expression $command
2525
}

Tasks/PowerShellOnTargetMachinesV3/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 3,
16-
"Minor": 198,
16+
"Minor": 200,
1717
"Patch": 0
1818
},
1919
"groups": [

0 commit comments

Comments
 (0)