javascript - Execute a script in phantomjs interactive (REPL) mode -
this question has answer here:
i have file runs , prints output screen when run in phantomjs non-interactive mode
$ phantomjs file.js <stuff printed screen>
in phantonjs interactive (repl) mode there way run js file, run('file.js')
. want open phantomjs pipe , send multiple files execute before closing pipe save on startup overhead.
looks repl mode borked , and overhaul underway:
Comments
Post a Comment