Re: ImageJ macro calling, e.g. exec("bash_script &"); // in background.
Posted by
Niko Ehrenfeuchter on
URL: http://imagej.273.s1.nabble.com/ImageJ-macro-calling-e-g-exec-bash-script-in-background-tp5003747p5003749.html
On 03.07.2013 03:09, Pariksheet Nanda wrote:
> That shouldn't work.
> The `&` symbol is specific to bash and similar *nix shells.
> On the other hand, ImageJ (Java rather) doesn't run bash when it
> processes exec() in the ImageJ macro.
>
> I don't know of a simple way to do what you want, i.e. launch a
> non-blocking exec process from an ImageJ macro.
Well, just create a wrapper script that you call directly from within
the macro and that does itself launch the background job execution.
Cheers
Niko
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html