Login  Register

Re: Run plugin from windows cmd

Posted by dscho on Dec 02, 2010; 10:15am
URL: http://imagej.273.s1.nabble.com/Run-plugin-from-windows-cmd-tp3686282p3686283.html

Hi,

On Thu, 2 Dec 2010, JaapK wrote:

> Is it possible to launch a plugin with an argumentstring from the
> windows command line in headless mode?
>
> I've tried something like:
> ImageJ -batch "plugin name" "argumentstring"
> But that doesn't seem to work.
>
> Can anyone help?

You need to use something like

        ImageJ -eval "run('Plug In', 'arguments');" -batch

but I am not quite sure about quoting in Windows cmd (I find the quoting
rules in Windows cmd pretty confusing).

Hth,
Johannes