Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command not found when runnnig from Applescript #8868

Closed
cyberduck opened this issue Jun 8, 2015 · 2 comments
Closed

Command not found when runnnig from Applescript #8868

cyberduck opened this issue Jun 8, 2015 · 2 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Jun 8, 2015

b8b58cd created the issue

Hi, I'm trying to upload files to RackSpace CDN, and can do so using the command line "Duck" tool in my Mac's Terminal, but when I try to run the Applescript below, the system isn't able to see "Duck." Not sure why.

	do shell script "duck --username <username> --upload rackspace://Downloads/Client/test_upload.mp3 ~/Home/test_upload.mp3"

Result:
error "sh: duck: command not found" number 127

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 9, 2015

@dkocher commented

Refer to Technical Note TN2065.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 9, 2015

@dkocher commented

/usr/local/bin is not in the PATH environment seen by AppleScript. As a workaround, run duck with the absolute path /usr/local/bin/duck.

@cyberduck cyberduck closed this Jun 9, 2015
@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants