• 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
Redirect IO of target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Redirect IO of target


  • Subject: Redirect IO of target
  • From: Michael Lehn <email@hidden>
  • Date: Wed, 28 Sep 2011 22:36:44 +0200

Hi,

is there a way to redirect stdin and stdout of the executable?  Say Xcode creates the
executable "hello" then it should run

	hello <data.in >data.out

Passing "<data.in" and ">data.out" as arguments does not work in Xcode 4.1.

Google told me that some user encountered the same problem in march:

	http://stackoverflow.com/questions/5490175/redirecting-i-o-in-xcode-4

The solution suggested there requires to modify the program.  This is not a feasible solution
in my case: my program is the LAPACK test suit (which I want to use as-is) implemented in
Fortran which calls some of my C++ routines which I want to be able to debug with Xcode.

Thanks for any help,

Michael _______________________________________________
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

  • Follow-Ups:
    • Re: Redirect IO of target
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Closing all but one window in a project?
  • Next by Date: Re: Redirect IO of target
  • Previous by thread: Closing all but one window in a project?
  • Next by thread: Re: Redirect IO of target
  • Index(es):
    • Date
    • Thread