[oXygen-user] external tool to run a bash script

Tara Athan taraathan at gmail.com
Sat Mar 1 02:37:59 CST 2014


Thanks for your help. That's working now. - Tara

On 2/28/14 8:50 AM, Oxygen XML Editor Support wrote:
> Hi,
>
> 'source' is a bash shell built-in command, it's not an application, so 
> you can't use it outside of bash (the Terminal).
> Use '/bin/sh' instead of 'source'.
>
> Regards,
> Adrian
>
> Adrian Buza
> oXygen XML Editor and Author Support
>
> Tel: +1-650-352-1250 ext.202
> Fax: +40-251-461482
> support at oxygenxml.com
> http://www.oxygenxml.com
>
>
> On 27.02.2014 21:26, 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
>>
>> Any suggestions?
>>
>> Thanks, Tara
>> _______________________________________________
>> oXygen-user mailing list
>> oXygen-user at oxygenxml.com
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
>
>
>



More information about the oXygen-user mailing list