I’ve recently installed the plugin Run Apps. After seeing the contents of the .sublime-commands it created I thought that I could do something similar in one of the plugins I’m messing with using sublime.run_command
. So I tried to compose a call like this one below
self.view.run_command(cmd = "runapp", args = {"app": "C:\\my_program.exe", "args": ["C:\\my_argument_file.whatever", whatever_string_yielding_function(huhh)], "type": "file"})
in hope that it will run my_program
and pass it the C:\\my_argument_file.whatever
as the first argument followed by the result of the function whatever_string_yielding_function
as the second argument. Alas, nothing happened, and I have no clue where I took the wrong turn. Any hints on this one?