javascript-scripting-tool/example.jss

9 lines
188 B
Plaintext
Raw Normal View History

2020-03-19 00:33:28 +01:00
#!./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"));