The Execute Shell Script
action runs a script (and optionally returns a result) but:
- It doesn't use or involve Terminal.app
- It uses a fresh vanilla instance of the shell – not the instance seen by Terminal.app
- Its default directory (see the result of
pwd
) is the top of the file system. i.e.cd ..
will not immediately have a meaning. (/
has no parent directory)
you can get a richer harvest by changing to (or referring to) a fully specified path: