Commit db039d0
committed
Revert script arguments from array (string[]) back to object (map)
to restore compatibility with the Java SDK reference implementation.
Remove stdin from script process since embedded script engines
(GraalJS, Jython) have no real stdin pipe — users who need stdin
with scripts should use run:shell instead. Shell arguments remain
as string[] since positional argv is the convention for shell commands.
- Schema: revert arguments type for script to map, remove script stdin
- Restore run-script-with-arguments.yaml example (map-based)
- Delete run-script-with-stdin-and-arguments.yaml (argv-based)
- Add run-shell-external-script.yaml showing the pattern for running
an external script via shell with stdin and arguments
- Update dsl-reference.md to match schema changes
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
1 parent 4d42471 commit db039d0
5 files changed
Lines changed: 53 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
981 | 981 | | |
982 | 982 | | |
983 | 983 | | |
984 | | - | |
985 | | - | |
| 984 | + | |
986 | 985 | | |
987 | 986 | | |
988 | 987 | | |
| |||
999 | 998 | | |
1000 | 999 | | |
1001 | 1000 | | |
1002 | | - | |
| 1001 | + | |
1003 | 1002 | | |
1004 | | - | |
| 1003 | + | |
1005 | 1004 | | |
1006 | 1005 | | |
1007 | | - | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
1008 | 1010 | | |
1009 | 1011 | | |
1010 | 1012 | | |
1011 | 1013 | | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
1015 | | - | |
1016 | | - | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
| |||
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | | - | |
| 1029 | + | |
1030 | 1030 | | |
1031 | 1031 | | |
1032 | 1032 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | 880 | | |
885 | | - | |
| 881 | + | |
886 | 882 | | |
887 | | - | |
888 | | - | |
889 | | - | |
| 883 | + | |
| 884 | + | |
890 | 885 | | |
891 | 886 | | |
892 | 887 | | |
| |||
931 | 926 | | |
932 | 927 | | |
933 | 928 | | |
934 | | - | |
| 929 | + | |
935 | 930 | | |
936 | 931 | | |
937 | 932 | | |
| |||
0 commit comments