[Biojava-l] external processes
Russ Kepler
russ at kepler-eng.com
Wed May 17 22:23:31 UTC 2006
On Wednesday 17 May 2006 03:27 am, Andreas Dräger wrote:
> I just tried the ExecRunner class with a compliation of a Matlab skript.
> My parameters are Matlab matrices and vectors like
> [1 2 3; 4 5 6]
> and so on. In the ExecRunner class this 2x3 matrix will be destroyed by
> the StringTokenizer and my Matlab skript will be started with the arguments
> [1, 2, 3;, 4, 5, 6]
> which doesn't make any sense.
As a workaround I simply put the command I wanted into a file in the local
directory and execute that indirectly with "sh ./cmdfile". It's harder to
make it portable, but then executing something seldom is very portable.
More information about the Biojava-l
mailing list