From 78dec8784c42d04feadd2e3955b83ad7ec90895e Mon Sep 17 00:00:00 2001 From: Egor Bryzgalov Date: Thu, 4 Jun 2020 16:12:08 +0300 Subject: [PATCH] [CMakeV1 hotfix] Disabled command cmake command execution through shell (#13064) * Disabled command execution through shell. (cherry picked from commit 2498ebc3183d68076d5a40d819fb7af054388f68) * Changed CMakveV1 task version --- Tasks/CMakeV1/cmaketask.ts | 2 +- Tasks/CMakeV1/task.json | 2 +- Tasks/CMakeV1/task.loc.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tasks/CMakeV1/cmaketask.ts b/Tasks/CMakeV1/cmaketask.ts index 56d06fa8b735..344e781e4c5f 100644 --- a/Tasks/CMakeV1/cmaketask.ts +++ b/Tasks/CMakeV1/cmaketask.ts @@ -15,7 +15,7 @@ async function run() { cmake.line(tl.getInput('cmakeArgs', false)); const options: trm.IExecOptions = { - shell: true + shell: false }; const code: number = await cmake.exec(options); diff --git a/Tasks/CMakeV1/task.json b/Tasks/CMakeV1/task.json index b1c4a698985a..0c9e2ee60b56 100644 --- a/Tasks/CMakeV1/task.json +++ b/Tasks/CMakeV1/task.json @@ -16,7 +16,7 @@ "version": { "Major": 1, "Minor": 170, - "Patch": 1 + "Patch": 2 }, "minimumAgentVersion": "1.91.0", "instanceNameFormat": "CMake $(cmakeArgs)", diff --git a/Tasks/CMakeV1/task.loc.json b/Tasks/CMakeV1/task.loc.json index a94004a33d06..1717ff8186d9 100644 --- a/Tasks/CMakeV1/task.loc.json +++ b/Tasks/CMakeV1/task.loc.json @@ -16,7 +16,7 @@ "version": { "Major": 1, "Minor": 170, - "Patch": 1 + "Patch": 2 }, "minimumAgentVersion": "1.91.0", "instanceNameFormat": "ms-resource:loc.instanceNameFormat",