Reputation: 93
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
Upvotes: 0
Views: 902
Reputation: 4154
Put the command in quotation marks:
#!/bin/bash
xterm -e "/usr/local/bin/casperjs --engine=slimerjs --headless /home/user/file.js"
Upvotes: 0