If you wrapped the creation of the browser variable in some platform decision stuff I don't see why it wouldn't.
 
-adam



> Date: Sun, 1 Jul 2007 06:35:34 +0800
> From: astigmatik@gmail.com
> To: jython-users@lists.sourceforge.net
> Subject: Re: [Jython-users] FW: Jython2.2b2 determining OS/platform and executing external programs
>
> I ended up with a Javanese solution:
>
> browser = r'c:\program files\mozilla firefox\firefox.exe'
> from java.lang import Runtime
> Runtime.getRuntime().exec((browser, url))
>
> Question is, would this work on non-Windows platforms?
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Jython-users mailing list
> Jython-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jython-users



Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!