Re: --headless not working?

Posted by dscho on
URL: http://imagej.273.s1.nabble.com/headless-not-working-tp5006126p5006134.html

Hi Nick,

On Tue, 14 Jan 2014, Nick X. Tsui wrote:

> I am using Fiji on Win7 64. I setup the headless mode, and I use
> print("Hello world!");   as test.
>
> In command line, everything looks right when >fiji HelloWorldMacro.ijm
> is typed. A window pops up showing "Hellow world!"; However, the
> prompt is not responding when I type >fiji --headless
> HelloWorldMacro.ijm. There is no error message showing up, just
> nothing.
>
> Anyone has any idea where I am doing wrong? Thanks!

On Windows, you might need to use the --console option to make it show up.
Alternatively, use redirection (fiji --headless hello.ijm > output.txt).

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html