[OMC] Perl scripts ?

OnMyCommand discussion omc at abracode.com
Sat Jul 21 00:41:00 PDT 2007

> Message: 2
> Date: Fri, 20 Jul 2007 22:27:19 -0700
> From: OnMyCommand discussion <omc at abracode.com>
> Subject: Re: [OMC] Perl scripts ?
> To: <omc at abracode.com>
> Message-ID: <C2C6E747.364D7%tom-old at abracode.com>
> Content-Type: text/plain;	charset="US-ASCII"
> Where ps2eps is located? Most likely there are search paths added  
> to your
> Terminal environment which are not existing in popen'ed shell.
> Type "env" command in Terminal and execute "env" in OMC using  
> "popen with
> output window" mode to see the differences in "PATH" variable.
> The easiest fix is to provide the full path to ps2eps, e.g.
> ~/bin/ps2eps __OBJ_PATH__
> If you don't know where ps2eps is located, type "which ps2eps" in  
> Terminal.
> The fact that it is a Perl script is irrelevant.
> Hope it helps,
> Tom
> Abracode

Thanks Tom,

your help was crystal clear.
never thought popen was kinda a separate shell with it own env  
It worked.
I will also look for a way to get popen the same env variables.

Keep up the good work.

More information about the OMC mailing list