ImageJ/Fiji - quit after script/macro

Posted by Rainer M. Engel on
URL: http://imagej.273.s1.nabble.com/ImageJ-Fiji-quit-after-script-macro-tp5002245.html

Hello everyone,

is there a way to quit (close the application itself) ImageJ/FIJI after
script/macro execution?

I tested a macro which creates a text file.

//..........................................
print("Hello World");
file = File.open("path/myfile.txt");
print(file, "Hello World");
File.close(file);
//..........................................

It worked from FIJI as expected also from command line via -batch. Then
I tried the headless mode but it didn't work anymore. Although headless
mode quits the application at the end. Does it?

Running a macro in batch mode is fine for me, due to the log-output
giving feedback during execution. Mmmh...

Any help, tips appreciated.

Regards,
Rainer


--
Rainer M. Engel, Dipl. Digital Artist
scientific|Media GbR
Pichelsdorfer Str. 143
13595 Berlin

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