MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: how do I portably discard stderr for MathLink programs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42355] Re: how do I portably discard stderr for MathLink programs
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 2 Jul 2003 06:36:17 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <bds0tv$65d$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

your C program may fclose(stderr) and open /dev/nul
instead.

Regards
  Jens

"Langston, Matthew David" wrote:
> 
> I just ported my MathLink program to a new platform (Linux) and now when I run my MathLink program the Mathematica message window keeps popping up with a bunch of stderr output. The stderr output is simply diagnostic output from a third party library that I have no control over (but which I link my MathLink program against).
> 
> I don't want users to see this output. How do I portably dump stderr output in such a way that Mathematica doesn't keep popping up Message windows. Is there a way to tell Mathematica to ignore this stderr output?
> 
> Warmest regards, Matt
> 
> --
> Dr. Matthew D. Langston, Ph.D.
> SLD, Stanford Linear Accelerator Center
> langston at SLAC.Stanford.EDU


  • Prev by Date: Re: no results with 'InequalitySolve'
  • Next by Date: Re: no results with 'InequalitySolve'
  • Previous by thread: Re: how do I portably discard stderr for MathLink programs
  • Next by thread: formatting question