So, I can start Tomcat with the following using the Python Source node...
from subprocess import call
from pandas import DataFrame
call(["/home/brian/Desktop/Bioinformatics/GenePattern/Tomcat/bin/catalina.sh", "run"])
output_table = DataFrame()
And I know it is working because I can then access GenePatternServer from a webbrowser. But, in KNIME the process never comes to completion...just like the terminal never closes if I run it from bash. Any ideas?
Not sure what is your use case. If you just want to start (and not necessaryly wait till it gets started), you might try Popen. (As tomcat is also based on Java, probably I would create an extension for that use case though.)