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
Assignees
Labels
bug cli Command Line Interface worksforme

Comments

@cyberduck
Copy link
Collaborator

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

@dkocher commented

Refer to Technical Note TN2065.

@cyberduck
Copy link
Collaborator Author

@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.

@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.
Labels
bug cli Command Line Interface worksforme
Projects
None yet
Development

No branches or pull requests

2 participants