ianharper / AccuTermClient

Use AccuTerm to interact with a MultiValue server from Sublime Text.
MIT License
4 stars 0 forks source link

Can't create a custom Subl. command to run multiple commands on server #27

Closed ianharper closed 5 years ago

ianharper commented 5 years ago

Creating a custom command with a list as the command argument (see below) throws an error: Traceback (most recent call last): File "C:\Program Files\Sublime Text 3\sublimeplugin.py", line 1082, in run return self.run(edit, **args) File "\files\tsredirect$\ianh\AppData\Roaming\Sublime Text 3\Packages\AccuTermClient\AccuTermClient.py", line 565, in run if mv_file: command = command.replace('${FILE}', mv_file) AttributeError: 'list' object has no attribute 'replace'

Example command: { "caption": "WHO WHO", "command": "accu_term_execute", "args": { "command": ["WHO 61", "WHO 60"], "output_to": "console"} },