delorie.com/archives/browse.cgi | search |
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 |
Message-Id: | <4.3.1.2.20011228104438.0165ad00@pop.ma.ultranet.com> |
X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
Date: | Fri, 28 Dec 2001 10:45:36 -0500 |
To: | "ROHIT X SINGH" <rxsingh AT us DOT ibm DOT com>, cygwin AT cygwin DOT com |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: "no such file or directory" using 'spawn' on EXPECT |
In-Reply-To: | <OF032D7C0A.1847F6C3-ON85256B30.0055393E@pok.ibm.com> |
Mime-Version: | 1.0 |
At 10:41 AM 12/28/2001, ROHIT X SINGH wrote: >Hi, > >I have installed cygwin(with expect package) on a number of Windows 2000 >systems, and on all the systems EXCEPT ONE, I am able to spawn "cmd.exe" >using the following command: > >C:\>expect >expect1.1> spawn "C:\\winnt\\system32\\cmd.exe" /c echo PLEASEECHO >spawn C:\winnt\system32\cmd.exe /c echo PLEASEECHO >2852 >expect1.2> >(It works as expected above) > >However, on the system which is unable to spawn it, I get the following : > >C:\>expect >expect1.1> spawn "C:\\winnt\\system32\\cmd.exe" /c echo PLEASEECHO >spawn C:\winnt\system32\cmd.exe /c echo PLEASEECHO >couldn't execute "C:\winnt\system32\cmd.exe": no such file or directory > while executing >"spawn "C:\\winnt\\system32\\cmd.exe" /c echo PLEASEECHO" >expect1.2> >(I get an error as shown above) > >I have checked that cmd.exe does indeed exist at C:\winnt\system32\cmd.exe. >I am using expect version 5.26 in all places. >I am facing this problem on the latest installtion that I did off a nasa >mirror yesterday. I tried reinstalling another mirror but faced the same >problem. > >Other information: I had initially installed cygwin on D: drive, but later >deleted it from D: drive, and reinstalled on C: drive. Could this be a >cause of this error ? My cygwin PATH points to C:\cygwin\bin > >'which sh' points to '/usr/bin/sh' > > I have checked the existence of /bin/sh on all systems. > >PLEASE HELP! :-) Perhaps the output of 'cygcheck -s -r -v' would be of some help (and maybe not! ;-) ) Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |