Posted By

peta on 10/13/09


Tagged


Versions (?)

Execute shell scripts [CS3 JavaScript]


 / Published in: JavaScript
 

  1. // define your shell-file
  2. // after that assign manually the x-flag to the file
  3. var shellscript = new File("./my-shell-script.sh");
  4.  
  5. // x-flag added
  6.  
  7. // run shell sciprt file
  8. shellscript.execute();

Report this snippet  

You need to login to post a comment.