imagej / imagej-launcher

The ImageJ native launcher
https://imagej.net/learn/launcher
BSD 2-Clause "Simplified" License
21 stars 23 forks source link

ImageJ.c: properly handle --showUI argument #45

Closed stelfrich closed 7 years ago

stelfrich commented 7 years ago

The idea of --showUI is to have subsequent arguments (like --run) executed after a UI is available. This commit adds handling of --showUI such that the order of arguments is preserved when passed to the JVM.

This PR is required to support the desired use of --showUI as introduced by https://github.com/scijava/scijava-common/pull/257.

ctrueden commented 7 years ago

:+1: Thank you!

I dislike that we need this, but it is an OK hack as long as we still use this launcher.