Mail Archives: cygwin/2005/08/16/13:11:41
Ugh, top-posting. Reformatted.
On Tue, 16 Aug 2005, Maloney, Michael wrote:
> -----Original Message-----
> From: cygwin-owner AT XXXXXX DOT XXX On Behalf Of Maloney, Michael
> Sent: Monday, August 15, 2005 3:21 PM
> To: cygwin AT XXXXXX DOT XXX
> Subject: RE: problem running tcl/expect when it lives remotely
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks.
> > Looks like the script cannot find its-self. It's failing at:
> > exec $ARTS_EXPECT -n -N "$0" "$@"
> >
> > Log:
> > $ P:/lemon/automation/WAM/FIM/FARTS/utils/run_remote_cmds
> > + TCL_LIBRARY=C:/cygwin/usr/share/tcl8.4/init.tcl
> > + export TCL_LIBRARY
> > + LD_LIBRARY_PATH=C:/cygwin/lib/libtcl84.a
> > + export LD_LIBRARY_PATH
> > + C:/cygwin/bin/expect -n -N P:/lemon/automation/WAM/FIM/FARTS/utils/run_remote_cmds
> > couldn't read file "P:/lemon/automation/WAM/FIM/FARTS/utils/run_remote_cmds": no such file or directory
> >
> > This doesn't seem right at all.
>
> Hi, Is this issue good enough for a bug? I'm only seeing this when
> running the script on a mounted drive.
A workaround for this issue could be something like
exec "$ARTS_EXPECT" -n -N "`cygpath -u "$0"`" "$@"
(note also the quotes around $ARTS_EXPECT -- it may contain spaces).
As for why this is happening, perhaps you could look at what the path
conversion produces for this -- browsing through the output of "strace"
should be instructive. Please don't post that output, though...
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -