Thanks!
chrome-cli is installed into another directory on my laptop (/opt/homebrew/bin/) but by calling "/opt/homebrew/bin/chrome-cli open https://github.com/prasmussen/chrome-cli" it worked fine.
Posts made by Johnny Bx
-
RE: How to execute bash script on a mac
-
RE: How to execute bash script on a mac
@Russ said in How to execute bash script on a mac:
echo "It ran" >> /tmp/run.log
Hi,
I see "It ran" into run.logLooks like the script is executed but for some reasion chrome-cli is not evaluated...
Thanks
-
RE: How to execute bash script on a mac
@Russ said in How to execute bash script on a mac:
~)
Hi,
Yes you are right ./ means current directory but I have tried the full path, a tilde + the rest of the directory and even into a directory visible by the PATH but nothing happens when I click on the execute button. Other commands works fine (ie open -a Calculator) but not this one. I will make more investigations and thanks for you input.
-
How to execute bash script on a mac
Hi,
I have tried many things, but I am not able to run a simple bash script on my mac
#!/bin/bash chrome-cli open https://github.com/prasmussen/chrome-cli
I want to use chrome-cli to automate chrome from my google home device. Obviously the bash script works fine when executed in the console.
Thanks in advance.