Example of a process task

nRF Connect for VS Code

tags
nRF Connect for VS Code

In the following example, the tasks.json file includes a custom nrf-connect-process type called my-process, which executes the ls command with the argument -al whenever it is invoked:

{
  "version": "2.0.0",
  "tasks": [
    {
      "type": "nrf-connect-process",
      "label": "my-process",
      "command": "ls",
      "args": ["-al"]
    }
  ]
}