gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] ssh-keygen question


From: J Busser
Subject: Re: [Gnumed-devel] ssh-keygen question
Date: Sun, 27 Feb 2005 14:17:11 -0800

At 7:58 AM +1100 2/28/05, Ian Haywood wrote:

Tunnelling the postgres connection over SSH would be good too (which solves 2 problems at once)


... you can just fire up SS*H* locally using os.spawn (), with the -L
option, then connect to the local port SSH has opened, which is tunnelled to
the server. Both postgres client and server are none the wiser.
Ian

Well, I know nothing about this however looked it up, and noted
http://python.fyxm.net/doc/2.4/lib/module-subprocess.html

New in version 2.4.

The subprocess module allows you to spawn new processes, connect to their input/output/error pipes, and obtain their return codes. This module intends to replace several other, older modules and functions, such as:

os.system
os.spawn*
os.popen*
popen2.*
commands.*

Maybe it is not relevant (yet) - are we frozen on Python 2.3? I am not sure where GnuMed's requirements are listed nowadays.

I peeked inside check-prerequisites.py but that checking seems to not care to what version of packages has been installed. Is the checker able to be that specific, is it desirable to be that specific, should the code comments include the required versions (as well as any upper limit to them) i.e. version of Python and other packages?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]