On Wednesday 17 December 2003 12:59, Alex Karasulu wrote:
> > Then the environment is set (unless you are talking about editing the
> > .bashrc after login, and not issue a new login.)
> > On Solaris,
> > bash-2.03$ /bin/sh -c "echo $NICLAS_TEST"
> > something
>
> I tried this but with forking a process in Java you
> really cannot get the macro expansion to work.  The
> shell does not seem to do it.  Give it a try run this
> as a process through java and you'll see that it will
> not work.

You have a point !!! $NICLAS_TEST is expanded prior to the invocation of 
"sh"...

I'll experiment out of curiosity later.
Niclas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to