Fix Linux.runCommand method
Added `eval` command to execution plan, which allows to correctly execute user input Change-Id: Ie0469a7a464b246dc76acf6259b12eeb9a126563 Closes-Bug: #1523915
This commit is contained in:
parent
e91a1fabe0
commit
2bd560aa7b
@ -18,7 +18,7 @@ Parameters:
|
|||||||
command: $command
|
command: $command
|
||||||
|
|
||||||
Body: |
|
Body: |
|
||||||
return runCommand("'{0}'".format(args.command))
|
return runCommand("{0}".format(args.command))
|
||||||
|
|
||||||
Scripts:
|
Scripts:
|
||||||
runCommand:
|
runCommand:
|
||||||
|
@ -11,4 +11,4 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
$1
|
eval ${*}
|
Loading…
Reference in New Issue
Block a user