robot-runner icon indicating copy to clipboard operation
robot-runner copied to clipboard

Config file field: run_script changes

Open StanSwanborn opened this issue 4 years ago • 0 comments

The example of config file is different. There run_script is an object with two fields (path and args). (README ISSUE) -- Stan: I checked this and it is as I state below, like handed in. I will change args from object to array however.

Future change to run_script field type: I would like it to be a single object with the following fields:

  • path: the string pointing the the location of the Python script in the file system
  • args: an array containing the arguments passed to the script. (as you explained below)

Note from Stan:

This is already partly the case, here is an example of my config file (this was handed in like this)

"run_script": { "path": "", "args": { } },

As can be seen, run_script is an object, containing the path string and args as object as well. I will change args from object to array.

StanSwanborn avatar Apr 15 '20 01:04 StanSwanborn