I have a .sh script file and specifically the atguments are not going well, and I do not know the reason --engine = slimerjs and - headless
#!/bin/bash
xterm -e /usr/local/bin/casperjs --engine=slimerjs --headless /home/user/file.js
I have a .sh script file and specifically the atguments are not going well, and I do not know the reason --engine = slimerjs and - headless
#!/bin/bash
xterm -e /usr/local/bin/casperjs --engine=slimerjs --headless /home/user/file.js
Put the command in quotation marks:
#!/bin/bash
xterm -e "/usr/local/bin/casperjs --engine=slimerjs --headless /home/user/file.js"