Jump to content

Trying to run a workflow Keyboard shortcut —> Script, get error


Recommended Posts

Posted

Sorry for the very basic question, I am testing the script just by entering the following command in the Run Script window:

 

networksetup -setairportnetwork en0 SSID "password"

 

When I run it, I get:

 

ERROR: Keyword to Script\[Run Script\] /bin/bash: -c: line 0: unexpected EOF while looking for matching \`"'/bin/bash: -c: line 1: syntax error: unexpected end of file

 

Any help will be appreciated, I get the same message un Automator, I tested the command in Terminal and worked fine. Thanks

Posted

Can’t say exactly without seeing the workflow. Please share it (transfer.sh provides quick temporary storage) so we have the proper context to help you. Anonymise the SSID and password, it doesn’t seem to be where the issue lies..

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...