Re: [basedb-devel] Run script in plugin

2007-09-04 Thread Jari Häkkinen
Yes it is possible to run non-Java code and scripts from a plug-in. Your code below is correctish ... are you sure you are running the script in the correct directory in the server? The Affymetrix plug-in at http://baseplugins.thep.lu.se/wiki/se.lu.thep.affymetrix uses external programs to perf

[basedb-devel] Run script in plugin

2007-09-03 Thread Peter Mertens
Dear list, is it possible to run a script from within the plugin? Then i have something like this in the "run" method: public void run(...) { ... Runtime runtime = Runtime.getRuntime(); Process process = runtime.exec("./scirpt PluginRunner arg1 arg2"); int exitValue = process