0

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

1 Answers1

0

Put the command in quotation marks:

#!/bin/bash
xterm -e "/usr/local/bin/casperjs --engine=slimerjs --headless /home/user/file.js"
UtLox
  • 3,744
  • 2
  • 10
  • 13