Running loadti from node red

I have a basic flow here. I press the inject, and it supposed to execute loadti.

It works from my command prompt. But from node red, I get this:

It says loadti is not recognized, how do I get node red to recognize it?

[
    {
        "id": "40b946fbdf71c29d",
        "type": "tab",
        "label": "Flow 3",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "7de8f851aea157ed",
        "type": "exec",
        "z": "40b946fbdf71c29d",
        "command": "loadti",
        "addpay": "",
        "append": "",
        "useSpawn": "false",
        "timer": "10",
        "winHide": false,
        "oldrc": false,
        "name": "",
        "x": 290,
        "y": 140,
        "wires": [
            [
                "e5dd55cfa19c9fe3"
            ],
            [
                "09d5ddc4e92bbd78"
            ],
            [
                "62a5ceed6d329dfd"
            ]
        ]
    },
    {
        "id": "e5dd55cfa19c9fe3",
        "type": "debug",
        "z": "40b946fbdf71c29d",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 470,
        "y": 120,
        "wires": []
    },
    {
        "id": "09d5ddc4e92bbd78",
        "type": "debug",
        "z": "40b946fbdf71c29d",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 475,
        "y": 160,
        "wires": []
    },
    {
        "id": "62a5ceed6d329dfd",
        "type": "debug",
        "z": "40b946fbdf71c29d",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 470,
        "y": 200,
        "wires": []
    },
    {
        "id": "64e86d81a626f60c",
        "type": "inject",
        "z": "40b946fbdf71c29d",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 120,
        "y": 140,
        "wires": [
            [
                "7de8f851aea157ed"
            ]
        ]
    }
]

The PATH environment variable is probably different inside node-red. Try specifying the full path to the command. Probably something like /usr/bin/loadti. You can use which loadti to find where it is, assuming you are using a linux distribution. If you are on Windows then I don't know how to find it. When specifying the path use forward slashes not backslashes even if on windows.