taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stian Soiland-Reyes <st...@apache.org>
Subject Re: Batch File Execution Through Taverna
Date Mon, 24 Sep 2018 09:22:38 GMT
On Thu, 13 Sep 2018 09:25:07 +0500, Rabia Ahmad <rabianabi3@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


Mime
View raw message