[ImageJ-bugs] [Bug 964] Exception when running from the command line

bugzilla at fiji.sc bugzilla at fiji.sc
Tue Dec 16 00:05:36 CST 2014


http://fiji.sc/bugzilla/show_bug.cgi?id=964

--- Comment #10 from Luc Deschenaux <l.deschenaux at foxel.ch> ---
Maybe there's no more --run option but it still does in the ImageJ-linux64
--help output:
  --run <plugin> [<arg>]
        run <plugin> in ImageJ, optionally with arguments

With '-run' I was not able to pass parameters and ImageJ does not exit on
headless exception (occuring when a specified path is missing and the file
dialog is instantiated).

Using '-macro' ImageJ does not exit on headless exception neither
('run("Quit");' did not help) and using '-batch' ImageJ get stuck with 100% CPU
usage ...

However at first glance it seems that running the plugin from a jython script
with 'ImageJ-linux64 --headless <script>' is working - parameters can be
specified and ImageJ exits on failure - so I can survive without '--run'.

Thanks for all :-)

-- 
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/20141216/1eb2e7d8/attachment.html>


More information about the Imagej-bugs mailing list