Re: Path to command line binaries
Re: Path to command line binaries
- Subject: Re: Path to command line binaries
- From: Daniel Bünzli <email@hidden>
- Date: Tue, 6 Jun 2006 00:25:21 +0200
Here's how I solved the problem.
Put the binary in MyProcess.app/Contents/Resources/mybinary
Just before the input to the run shell script action put a run
applescript action with
on run {input, parameters}
return (path to resource "mybinary") & input
end run
The first argument of your shell script will have the absolute path
to the binary. Note that it won't work from Automator.app itself.
I still think that the shell's working directory should be set to
something more sensible than /. The directory where the workflow
resides would be the best.
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden