Thanks Donal, I have already tried with ".", but there is a command in my .bashrc that basic shell does not recognise: shopt.
But, I am still wondering, how is it possible that Taverna executes (using a python tool) the command 'echo $SHELL' and gets "/bin/bash", and in the same command line (separated by semicolon), executes a source BLAH/.bashrc and it does not recognise the 'source' command 2012/10/10 Donal K. Fellows <[email protected]>: > On 10/10/2012 08:47, Susana Sanchez Exposito wrote: >> >> The second and third line correspond to the values of $PATH and the >> route to python, and I see the environment is not set properly. >> >> The result in STDERR output is: >> /bin/sh: source: not found >> >> It seems Taverna uses the basic shell instead of the Bourne shell, but >> this does not fit in with the value got in $SHELL (/bin/bash) > > > In classic Bourne shell, you'd use: > > . BLAH/.bashrc > > (That is, a dot on its own as the 'command name', followed by the name > of the file to source.) The 'source' builtin is (IIRC) a csh-ism that > bash adopted. Note that BLAH might be $HOME or ~ but you may need to > experiment there. :-) > > Donal. > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > taverna-users mailing list > [email protected] > [email protected] > Web site: http://www.taverna.org.uk > Mailing lists: http://www.taverna.org.uk/about/contact-us/ > -- Susana Sánchez Expósito Instituto de Astrofísica de Andalucía IAA (CSIC) Camino Bajo de Huétor, 50. Granada E-18008 Tel:(+34) 958 121 311 / (+34) 958 230 618 Fax:(+34) 958 814 530 e-mail: [email protected] ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/
