tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Environment variables
Date Tue, 06 Nov 2007 15:24:03 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew,

Andrew Hole wrote:
> I'm trying to execute a ssh command inside java code. SSH command must
> know HOMEDRIVE environment variable to find know_hosts file... How can
> I do that?

How are you invoking ssh? If you're doing a standard Runtime.exec, why
not just use the versions of that method which take environment
variables as parameters?

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHMIcT9CaO5/Lv0PARAmbgAJwLJiMu33Cs8qdsBoG2afUuVFvJ0wCgmDmD
tuvpCb2Wc21yYuc1w+q8GJA=
=fG1R
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message