ImageJ macro calling, e.g. exec("bash_script &"); // in background.
Posted by
Nikolaus Szeverenyi on
Jul 03, 2013; 12:25am
URL: http://imagej.273.s1.nabble.com/ImageJ-macro-calling-e-g-exec-bash-script-in-background-tp5003747.html
Anyone know how to pass the & symbol in an ImageJ macro using a line like:
exec("bash_script &");
I am using ImageJ to run FLIRT registration software on NIFTI images from
a macro on a Linux platform.
This approach works fine until I put the & to make it run FLIRT in
background (and hopefully use more processors). Seems like the & is a
special symbol in the ImageJ macro language -- somehow interprets & and no
longer runs the script. Tried various tricks like \& , but I am just
guessing at this point.
Thanks,
Nick
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html