Code design problem

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Fri Aug 31 00:48:02 EDT 2007


In message <1188389375.238847.298320 at w3g2000hsg.googlegroups.com>, Marco
Nawijn wrote:

> The problem I face is that the implementation of the application class
> is completely different for the local and remote case. The local case is a
> straightforward implemenation using the subprocess module, the remote
> case is a CORBA implementation.

Any reason why you need to use something as complex as CORBA? On *nix
systems, depending on filesystem access issues, the difference between
local and remote execution of commands isn't much more than

    cmd

versus

    ssh host cmd




More information about the Python-list mailing list