Add 'example.jss'

This commit is contained in:
andreacavalli 2020-03-19 00:33:28 +01:00
parent d3f16d3bfe
commit 0d0099cf9b

8
example.jss Normal file
View File

@ -0,0 +1,8 @@
#!./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"));