luishenriique

phantomjs

Oct 13th, 2015
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. phantomjs ->
  2. http://phantomjs.org/download.html
  3.  
  4. program.aspx ->
  5. using System.Diagnostics;
  6. class Program
  7. {
  8. static void Main()
  9. {
  10. Process.Start("phantomjs hello.js");
  11. }
  12. }
  13.  
  14. hello.js ->
  15. console.log('Hello, world!');
  16. phantom.exit();
  17.  
  18. command line arguments ->
  19. http://stackoverflow.com/questions/9679375/run-an-exe-from-c-sharp-code
Advertisement
Add Comment
Please, Sign In to add comment