samples/exec.js

changeset 1405
98b090e45df3
parent 1403
b39a918a34a4
child 1819
5e1012e665bf
     1.1 --- a/samples/exec.js	Tue Jun 09 14:19:57 2015 +0530
     1.2 +++ b/samples/exec.js	Thu Jun 11 13:33:34 2015 +0530
     1.3 @@ -46,3 +46,5 @@
     1.4  // Output of running external commands is returned from $EXEC:
     1.5  print($EXEC("ls"))
     1.6  
     1.7 +// apply on $EXEC
     1.8 +print($EXEC.apply(this, ["ls"]));

mercurial