![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveStandard file open/app launch commands for Mac, Win, and X11
From: Kevin Walzer <kw@kevin-walzer.com>
Date: Sat Apr 29 2006 - 17:29:27 CEST
I'm developing a list of platform-specific file open/application launch
Here's what I've got so far:
OS X: exec open myphoto.jpg; exec open http://wiki.tcl.tk
Windows: eval exec [auto_execok start] myphoto.jpg; eval exec
Linux/Unix (Gnome): exec gnome-open myphoto.jpg; exec gnome-open
Linux/Unix (KDE): exec "kfmclient exec myphoto.jpg"; exec "kfmclient
Linux/Unix (other): tk_getOpenFile ("Please choose the program to open
Two questions:
1. Are these the right commands to use, particularly on Linux, or are
Thanks.
-- Kevin Walzer Poetic Code http://www.kevin-walzer.comReceived on Sun Apr 30 03:31:41 2006 |