From: Maximus5 <ConEmu.Maximus5@gmail.com>
To: cygwin@cygwin.com
Subject: Re: launching sh/bash from windows console (cmd) results in application Segmentation Faults
Date: Wed, 26 Mar 2014 22:04:00 -0000 [thread overview]
Message-ID: <loom.20140326T213544-388@post.gmane.org> (raw)
In-Reply-To: <CAFjYYd6GnwhGsxicfsLjnyyK5QiyrC6X30dx8VK0XDfVWpbMvQ@mail.gmail.com>
Scott Mitchell <scott.kevin.mitchell <at> gmail.com> writes:
> I am not sure if the is relevant but the "C:\Windows\System32\cmd.exe"
> I have been using is a 32 bit executable as reported by cygwin:
> $ file cmd.exe
> cmd.exe: PE32 executable (console) Intel 80386, for MS Windows
>
> I am not sure if this is an alternative and I don't have any
> alternatives other than "C:\Windows\SysWOW64\cmd.exe" which is also
> reported as 32 bit.
That is because of redirection in Windows x64.
When you need to access (or run) any 64-bit windows app in system folder
from any 32-bit app, you need to use "sysnative" alias.
$ file /c/windows/sysnative/cmd.exe
/c/windows/sysnative/cmd.exe: PE32+ executable (console) x86-64, for MS
Windows
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2014-03-26 20:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-26 20:50 Scott Mitchell
2014-03-26 22:04 ` Maximus5 [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-03-26 22:53 Scott Mitchell
2014-03-26 18:39 Scott Mitchell
2014-03-26 19:50 ` Larry Hall (Cygwin)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20140326T213544-388@post.gmane.org \
--to=conemu.maximus5@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).