You could try running:

    export MY_VAR=foo
    bash -c 'echo $MY_VAR'

And see if that comes with the same result. You might also want to make
sure you're not using a pre-loader like Drip.

You can use Java system properties to do per environment/machine config as
well.

I wrote a library a while back that handles both system properties and
environment variables, called environ:
https://github.com/weavejester/environ

- James


On 7 July 2014 20:32, Jarrod Swart <jcsw...@gmail.com> wrote:

> Sean,
>
> Thanks for the input.  There is a good chance you are right.  The process
> is launched from tmuxinator a tool that opens multiple processes and joins
> them all to a tmux session.
>
> I suppose I'll have to investigate that but it seems odd that if I type
> "echo $MY_VAR" I get the expected value from within that same series of
> tmux processes.
>
> It must be part of the JVM bit I don't grasp yet.
>
> I'll look into these suggestions later.
>
> Is there a particular way you do per environment/machine config that
> differs from env vars?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to