javascript-scripting-tool/example.jss
2020-03-19 00:33:28 +01:00

9 lines
188 B
JavaScript

#!./scripting.js
println("Hello World!");
println("Arguments: " + args);
print(exec("echo Hello World from exec!"));
print(await bash("echo Hello World from bash! logname: $LOGNAME"));