You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@taverna.apache.org by Rabia Ahmad <ra...@gmail.com> on 2018/09/13 04:25:07 UTC

Batch File Execution Through Taverna

Is there any method to execute batch file in shell script using Taverna
Workbench, Taverna server or taverna command line tool?

Re: Batch File Execution Through Taverna

Posted by Stian Soiland-Reyes <st...@apache.org>.
On Thu, 13 Sep 2018 09:25:07 +0500, Rabia Ahmad <ra...@gmail.com> wrote:
> Is there any method to execute batch file in shell script using Taverna
> Workbench, Taverna server or taverna command line tool?

Yes, using the Tool service you can execute any shell commands.

http://dev.mygrid.org.uk/wiki/display/tav250/Configuring+a+tool+service

You can try to put the script straight into the "Command" tab. The lines
will be executed one by one.

However if your script is pre-existing file, or have a bit of logic with
parameters, etc then you could instead embed the script as a fixed File
under Advanced, and then under Command just execute that file with "sh
foo.sh"

This latter mechanism can also be used to execute scripts in other
languages like Python.


-- 
Stian Soiland-Reyes
https://orcid.org/0000-0001-9842-9718