This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Continued: small DOS program fails (Permission Denied) when run f rom Bash in XEmacs


On Wed, May 02, 2001 at 10:22:30AM -0700, Karr, David wrote:
>This is a continuation of an earlier issue.  I have a small DOS program,
>compiled and linked with MS tools, which executes fine in a standalone "cmd"
>window, and in a standalone Bash window, and within GNU make in either
>window.  However, when the Bash shell is running in XEmacs, it fails with
>"Permission Denied".  I put a printf at the top of "main", and it isn't
>getting there.  I would really appreciate some help understanding what is
>going on here.
>
>I even tried printing "env" in the "good" and "bad" environments and
>manually setting (or unsetting) all the variables in the "bad" environment
>to match the "good" one, then rerunning it, but that didn't help.  However,
>there were two variables set in the "good" environment that I didn't set in
>the "bad" environment, because I didn't understand them.  They looked like
>this (straight from the "env" output):
>
>  !C:=C:\WINNT\PROFILES\david.karr\DESKTOP
>  !D:=D:\cygwin\bin
>
>What can I do to get any kind of clue of what is going on here?

Maybe some of the tools at www.sysinternals.com would help.  I still suspect
that you are not running the program that you think you're running.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]