delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/01/18:17:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 1 May 2001 18:16:37 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Strange PATH behavior with 1.3.1
Message-ID: <20010501181637.A21747@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <2C08D4EECBDED41184BB00D0B747334202FB4354 AT exchanger DOT cacheflow DOT com> <20010430180643 DOT E1408 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <20010430180643.E1408@redhat.com>; from cgf@redhat.com on Mon, Apr 30, 2001 at 06:06:43PM -0400

On Mon, Apr 30, 2001 at 06:06:43PM -0400, Christopher Faylor wrote:
>On Mon, Apr 30, 2001 at 03:03:27PM -0700, Karr, David wrote:
>>I'd like to get some strace output.  I really would.  Running my script
>>with "strace -o strace.out -f <scriptname>" leaves me with an
>>"strace.out" file of zero size.  It seems to not do anything when run
>>on a script.
>
>Don't run it on scriptname.  strace is a mingw program (for hopefully
>obvious reasons).  It can't execute shell scripts.  You have to run it
>on the shell which is unable to find the scriptname.  You indicated that
>scriptname ran correctly when invoked by hand so I don't see that any
>useful information would come about from running it via strace, even if
>it did work.
>
>If you really want to execute a script, the way to do it is:
>
>strace -owqwer sh script
>
>or, in your case:
>
>strace -owqwere sh -c "script"

So, I'm curious.  What is the status of this problem?

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019