{ "lexicon": 1, "id": "computer.socialweb.cicd.process.exec", "defs": { "main": { "type": "procedure", "description": "Run a command on the machine (/bin/sh -c, root) and wait.", "input": { "encoding": "application/json", "schema": { "type": "object", "required": [ "url", "command" ], "properties": { "url": { "type": "string", "description": "Where the machine is reached: iroh:////shell/... or webrtc:////shell/..." }, "command": { "type": "string" }, "stdin": { "type": "string" }, "cwd": { "type": "string" }, "timeoutMs": { "type": "integer", "description": "Default 60000, at most 600000." } } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "properties": { "exitCode": { "type": "integer" }, "stdout": { "type": "string" }, "stderr": { "type": "string" }, "truncated": { "type": "boolean" }, "timedOut": { "type": "boolean" } } } } } } }