delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.3 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
From: | Thomas Shanks <thomas DOT shanks AT gmail DOT com> |
Date: | Fri, 2 Jul 2010 16:23:27 -0400 |
Message-ID: | <AANLkTikZhQHlSOFfmtb7oLMJC2H-o52EQVdYew6zb7kK@mail.gmail.com> |
Subject: | Answer: How to fix error "strace: error creating process vim, (error 2)" |
To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Since no one bothered to reply to my previous message (help the cygwin newbies, yall!), I'll post the answer. If you get: ~$ strace vim strace: error creating process vim, (error 2) ~$ strace It's because vim is a symlink, and strace can't follow symlinks, as it's not a cygwin.dll program. Instead, figure out where 'vim' (or whatever) goes. ~$ realpath `which vim` /usr/bin/gvim.exe ~$ strace /usr/bin/gvim.exe The strace manpage does say this now (in a roundabout way), but I didn't have the requisite optional manpage package installed at the time. DEVS: PLEASE file the missing error message text in strace (a cygwin-specific program!) as a bug, as the error message isn't missing (and replaced with cryptic "error 2") on other platforms. Thomas Shanks -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |