• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode debug follow fork
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode debug follow fork


  • Subject: Re: Xcode debug follow fork
  • From: "Dee Ayy" <email@hidden>
  • Date: Fri, 14 Nov 2008 14:52:11 -0600

On Thu, Nov 13, 2008 at 11:54 PM, Greg Guerin <email@hidden> wrote:
> Dee Ayy wrote:
>
>> I run my_app built in Xcode by invoking as follows from the terminal
>> (Terminal.app):
>> cat my_pipe | ./my_app
>
> Is there a reason for using a pipe and a cat?
>
> Unless I'm missing something, that's nearly equivalent to:
>  ./my_app <my_pipe
>
> The latter would not require any debug follow fork magic.
Your suggestion looks fine to me.  I'll try it when I get home.

> Stupid cat tricks:
>  grep xyzzy foo
>  cat foo | grep xyzzy
>  cat foo | cat | grep xyzzy
>  cat foo | cat | cat | grep xyzzy
>  cat foo | cat | tee /dev/null | cat | grep xyzzy
>
>  -- GG
However, sometimes I invoke as follows:
cat my_pipe | ./my_app | tee my_log

Can you show me a stupid cat trick to do that with
./my_app <my_pipe

Thanks.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Xcode debug follow fork (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: Xcode debug follow fork
  • Next by Date: Re: Xcode debug follow fork
  • Previous by thread: Re: Xcode debug follow fork
  • Next by thread: Re: Xcode debug follow fork
  • Index(es):
    • Date
    • Thread