[ImageJ-bugs] [Bug 874] New: Headless ImageJ2 takes about a minute extra to exit after finishing script or macro
bugzilla at fiji.sc
bugzilla at fiji.sc
Thu Jul 31 09:13:03 CDT 2014
http://fiji.sc/bugzilla/show_bug.cgi?id=874
Bug ID: 874
Summary: Headless ImageJ2 takes about a minute extra to exit
after finishing script or macro
Product: Fiji
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ImageJ2
Assignee: imagej-bugs at imagej.net
Reporter: polleke at gmail.com
Created attachment 188
--> http://fiji.sc/bugzilla/attachment.cgi?id=188&action=edit
ImageJ2 properties
In the daily version of ImageJ2, when running a script like this:
./ImageJ-linux64 --headless -macro scripts/short.js
Takes about a minute after completion of the script to return to command line.
The script contains "print('foo')". It also happens with macros (.ijm).
I can reproduce this on a wide variety of linux installs and JRE's. But it only
happens in pure ImageJ2, when installing the daily version of Fiji it does not
happen.
When adding eval("script", "System.exit(0);"); it is fixed. Using run('Quit');
has no effect.
I'll attach the Java heap dump while waiting for ImageJ to exit. The ImageJ
properties output has been attached already.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20140731/e447cd68/attachment.html>
More information about the Imagej-bugs
mailing list