Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 16 Aug 2005 13:11:31 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Maloney, Michael" cc: cygwin AT cygwin DOT com Subject: RE: problem running tcl/expect when it lives remotely In-Reply-To: <017630AA6DF2DF4EBC1DD4454F8EE29705C12460@rsana-ex-hq1.NA.RSA.NET> Message-ID: References: <017630AA6DF2DF4EBC1DD4454F8EE29705C12460 AT rsana-ex-hq1 DOT NA DOT RSA DOT NET> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 . 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/