public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Continued: small DOS program fails (Permission Denied) when run f rom Bash in XEmacs
@ 2001-05-02 13:38 Karr, David
  2001-05-02 13:59 ` Continued: small DOS program fails (Permission Denied) when r un " Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 8+ messages in thread
From: Karr, David @ 2001-05-02 13:38 UTC (permalink / raw)
  To: 'Larry Hall (RFK Partners, Inc)',
	Karr, David, 'cygwin@cygwin.com'

Verified.  I got it working outside of XEmacs, verifying it produced an
output file, then I removed the output file and reran it inside XEmacs, and
the output file was not created.  It still fails with "Permission Denied" in
XEmacs.

-----Original Message-----
From: Larry Hall (RFK Partners, Inc) [ mailto:lhall@rfk.com ]
Sent: Wednesday, May 02, 2001 1:04 PM
To: Karr, David; 'cygwin@cygwin.com'
Subject: Re: Continued: small DOS program fails (Permission Denied) when
run f rom Bash in XEmacs


At 01:22 PM 5/2/2001, Karr, David wrote:
>"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.


Just because you don't see output doesn't mean it didn't get there.  Try
writing to a file, flush it, and close it.


Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Continued: small DOS program fails (Permission Denied) when run from Bash in XEmacs
@ 2001-05-02 10:20 Karr, David
  2001-05-02 13:03 ` Continued: small DOS program fails (Permission Denied) when run f rom " Christopher Faylor
  2001-05-02 13:05 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 2 replies; 8+ messages in thread
From: Karr, David @ 2001-05-02 10:20 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

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?

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-05-02 20:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-02 13:38 Continued: small DOS program fails (Permission Denied) when run f rom Bash in XEmacs Karr, David
2001-05-02 13:59 ` Continued: small DOS program fails (Permission Denied) when r un " Larry Hall (RFK Partners, Inc)
2001-05-02 19:15   ` David M. Karr
2001-05-02 20:46     ` Larry Hall (RFK Partners, Inc)
  -- strict thread matches above, loose matches on Subject: below --
2001-05-02 10:20 Continued: small DOS program fails (Permission Denied) when run from " Karr, David
2001-05-02 13:03 ` Continued: small DOS program fails (Permission Denied) when run f rom " Christopher Faylor
2001-05-02 19:07   ` David M. Karr
2001-05-02 13:05 ` Larry Hall (RFK Partners, Inc)
2001-05-02 19:10   ` David M. Karr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).