Login  Register

Re: Run plugin from windows cmd

Posted by JaapK on Dec 07, 2010; 10:52am
URL: http://imagej.273.s1.nabble.com/Run-plugin-from-windows-cmd-tp3686282p3686284.html

Hi Johannes,

Thanks a lot, that works perfectly!
You're right, windows quote rules are confusing, though in this case
it seems to work as intended.

Regards,
Jaap


2010/12/2 Johannes Schindelin <[hidden email]>:

> 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
>