[oXygen-user] external tool to run a bash script
Peter West
lists at pbw.id.au
Fri Feb 28 03:15:10 CST 2014
On 28/02/2014 5:26 am, Tara Athan wrote:
> I'm sure I'm doing something stupid, but ...
>
> I have a bash script (I'm on Mac OS X 10.8.5) that calls Jing with the
> simplify option to turn a modular Relax NG compact schema into a
> simplified monolithic RNG for further processing. It runs just fine from
> the command line, but I have been trying to implement it as an external
> tool. The command I use for the external tool is
>
> source /Users/taraathan/SimpleApps/oxygen/simplify-rnc2rng.sh ${cf}
> ${cfd}/tmp/simp-${cfne}.rng
>
> with working directory
>
> /Users/taraathan
>
> I get the error message
>
> Could not start: Cannot run program "source" (in directory
> "/Users/taraathan"): error=2, No such file or directory
> Process ended with exit code: -1234567
It's trying to run the program "source" in the working directory. Try
removing the word "source" from the command you are using.
--
Peter West
...and again, as his custom was, he taught them.
More information about the oXygen-user
mailing list