TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Johnny Bx
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    Johnny Bx

    @Johnny Bx

    0
    Reputation
    6
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Johnny Bx Unfollow Follow

    Latest posts made by Johnny Bx

    • RE: How to execute bash script on a mac

      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.

      posted in Mac
      Johnny BxJ
      Johnny Bx
    • 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.log

      Looks like the script is executed but for some reasion chrome-cli is not evaluated...

      Thanks

      posted in Mac
      Johnny BxJ
      Johnny Bx
    • 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.

      posted in Mac
      Johnny BxJ
      Johnny Bx
    • 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
      

      b5dd8ad6-4779-4110-a8b7-f259fe0d010a-image.png

      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.

      posted in Mac
      Johnny BxJ
      Johnny Bx