delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/28/11:13:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Importance: Normal
Sensitivity:
Subject: Re: "no such file or directory" using 'spawn' on EXPECT
To: cygwin AT cygwin DOT com
X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000
Message-ID: <OFCF14D12C.8108A195-ON85256B30.005903BC@pok.ibm.com>
From: "ROHIT X SINGH" <rxsingh AT us DOT ibm DOT com>
Date: Fri, 28 Dec 2001 11:12:39 -0500
X-MIMETrack: Serialize by Router on D01ML255/01/M/IBM(Release 5.0.9 |November 16, 2001) at
12/28/2001 11:12:40 AM
MIME-Version: 1.0

> Perhaps the output of 'cygcheck -s -r -v' would be of some help (and
> maybe not! ;-) )


Thanks Larry,

I have found something which may be able to pinpoint the source of the
error: However, I'm not competent enough to judge what's wrong! Perhaps,
you or someone in the group will be able to help me out...

On the system on which expect's spawn works AS EXPECTED, 'cygcheck -s -r
-v' reports the PATH as UNIX paths, as follows:...


Path: /cygdrive/c/Program Files/ibm/gsk4/lib
      /cygdrive/c/WINNT/system32
      /cygdrive/c/WINNT
      /cygdrive/c/WINNT/System32/Wbem
      /usr/bin
      /cygdrive/c/JDK1.3.1_01
      .
      .
      .


However, on the system where it DOESN'T Work as expected, the PATH is
reported as "windows paths, i.e. drive names followed by windows path, as
follows:

Path: C:\WINNT\system32
      C:\cygwin\bin
      C:\WINNT
      .
      .
      .


Will this be useful ?

Thanks and Regards,
Rohit Singh




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019