Login  Register

Re: macro: Redirection in exec( UNIX-binary ) ?

Posted by dscho on Jul 27, 2010; 8:13pm
URL: http://imagej.273.s1.nabble.com/macro-Redirection-in-exec-UNIX-binary-tp3687463p3687467.html

Hi,

On Tue, 27 Jul 2010, Gluender wrote:

> Is it possible to use "redirection" when executing an UNIX-binary from a
> macro?

No. You will have to employ at least Javascript to execute an external
program and catch its output.

Being on a Unix-like system, you can write a small wrapper script that
calls the executable with the appropriate redirection, though.

Ciao,
Johannes