Is there any way that i could run a shell script after a contract is deployed,since the terminal has geth Javascript console running,and there are some commands which are already in the shell script.


eval $command;

enter image description here

  • 1
    why not just open a new terminal? – Joe Jun 13 '17 at 10:38

If it is a bash syntax then it seems wrong.

You can simply just do:

cd scriptPath && $(command -v node) coin.js;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.