Browse thread
toplevel with pre-installed printers
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | skaller <skaller@u...> |
| Subject: | Re: [Caml-list] toplevel with pre-installed printers |
On Fri, 2006-01-20 at 08:49 -0800, David Brown wrote: > On Fri, Jan 20, 2006 at 01:24:03PM +1100, skaller wrote: > > > You simply look at argv[0] which on some Unix systems > > is the full path name of the invoked executable. > > Actually, argv[0] is almost never a full path. You're right. Hmm .. but your example is complicated, here's a simpler version: skaller@rosella:/work/felix/flx$ echo $0 bash .. clearly not the full path. -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net