$ TMPDIR=/tmp/blee /usr/local/jython-2.5.2/bin/jython
On Fri, Jul 8, 2011 at 1:03 PM, Quanah Gibson-Mount <email@example.com>
We work to make the various portions of our product use
/opt/zimbra/data/tmp for tempfiles. However (as noted in the recent thread
about KVM issues), I've found that when jython is instantiated, it is not
using that path, but is instead using /tmp.
I've tried various ways (with no success) to change this behavior:
a) In our jython software
(Which changes it *after* instantiation, good, but not everything I'm
b) While invoking jython:
exec `dirname $0`/zmjava -Djava.io.tmpdir=/opt/zimbra/data/tmp
How can I get jython to use the correct tempdir at invocation, so I can
avoid the issue where people mount /tmp noexec?
Not sure if this is portable to non-*ix: