-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathexec.yaml
More file actions
50 lines (41 loc) · 1.43 KB
/
exec.yaml
File metadata and controls
50 lines (41 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
---
allOf:
- type: object
properties:
format:
$ref: ../format_spec.yaml
shell:
type: boolean
default: false
description: |
If set, the `exec` setting gets passed the shell (`/usr/bin`).
In this case the `exec` setting must be given as a string.
If not set, we will directly execute the sub-process via `execvpe(2)`.
In this case the exec setting must be given as an array (`argv[]`).
exec:
description: |
The program which should be executed in the sub-process.
The option is passed to the system shell for execution.
oneOf:
- type: array
items:
type: string
- type: string
flush:
type: boolean
default: true
description: |
Flush stream every time VILLASnode passes data the sub-process.
working_directory:
type: string
description: |
If set, the working directory for the sub-process will be changed.
environment:
type: object
description: |
A object of key/value pairs of environment variables which should be passed to the sub-process in addition to the parent environment.
- $ref: ../node_signals.yaml
- $ref: ../node.yaml