lauch browser on remote windows mach from linux python?

gry at ll.mit.edu gry at ll.mit.edu
Tue Sep 7 19:54:31 CEST 2004


My users work at windows PC's.  They run my app on my linux server,
displaying the gtk/pytgk graphics via the hummingbird/exceed X server.
When a user clicks on a URL in my app, I want to lauch mozilla, running
on the PC, with the specified URL.  Is there some way to do this?

[sorry, I'm a unix/linux hacker -- no understanding of MS system stuff]

I can imagine a tiny python daemon running on each PC, listening for a
connection on a particular port, and reading a URL from it.
Can it just call os.system('mozilla ...')?
Or do I have to do some .com or .net thing?

I know this sounds like opening a huge security hole in the PC, but
it's MS -- isn't that where holes belong ;-).  The daemon could reject
all but appropriate local URL's.

-- George Young




More information about the Python-list mailing list