Wrapped application directory oddity
- From: "Jeff Godfrey" <jeff_godfrey@xxxxxxxxx>
- Date: Thu, 28 Jun 2007 23:06:42 GMT
Hi All,
I have a TclApp wrapped application running on a remote web server.
I'm trying to programmatically determine the absolute path of the
executable, but the usual suspects are returning odd results in this
case.
Specifically, the real path begins with: D:/WebHosting/...
[pwd] - returns accurate results, though it's not guaranteed to be
(and it's not) the folder containing the application
[info nameofexecutable] and "$starkit::topdir" both return
"//?/D:WebHosting/..." The rest of the path is correct, but what's
with the odd leading chars and the missing slash after the drive
letter? Both of these ultimately point to what I need, but aren't
properly constructed. Trying to slice that result up using [file
dirname] and friends just makes a mess...
[info script] also returns the same odd results at the beginning of
the path, though it points further into the VFS, which I don't really
want/need.
Running the same wrapped application on my local server (via command
line or cgi) returns valid results. I only see the strange results on
the remote system, so it seems to be related to the configuration of
that server.
Ideas?
Thanks,
Jeff
.
- Follow-Ups:
- Re: Wrapped application directory oddity
- From: Jeff Godfrey
- Re: Wrapped application directory oddity
- From: Melissa Schrumpf
- Re: Wrapped application directory oddity
- Prev by Date: Re: TclApp | DLL | CGI - permissions?
- Next by Date: Re: Daily Build
- Previous by thread: Launching Tkcon with a main script and another as arguments
- Next by thread: Re: Wrapped application directory oddity
- Index(es):
Relevant Pages
|