Le Mon, Jul 12, 2010 at 03:01:35PM +0300, Peter Pentchev a écrit :
> On Mon, Jul 12, 2010 at 08:56:55PM +0900, Charles Plessy wrote:
> > 
> >   open (WOSSNAME, "export -n EMBOSS_ACDCOMMANDLINE;wossname -alpha -auto|") 
> > || die "Cannot run wossname";
> > 
> > by the following line:
> > 
> >   open (WOSSNAME, "(unset EMBOSS_ACDCOMMANDLINE; wossname -alpha -auto)|") 
> > || die "Cannot run wossname";
> 
> Erm... since you *are* executing this in a separate process, can't you just
> unset it even without running it in a subshell?

Good point :)

So basically I will write Upstream that in that case there is no need to
protect the parent environment, and ask them to replace “export -n” by “unset”.

Many thanks,

-- 
Charles


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100712123659.gb20...@merveille.plessy.net

Reply via email to