MathGroup Archive 1999

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

Search the Archive

Re: Is it possible to start a perl executable from mathematica?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20137] Re: Is it possible to start a perl executable from mathematica?
  • From: "P.J. Hinton" <paulh at wolfram.com>
  • Date: Sat, 2 Oct 1999 03:05:00 -0400
  • Organization: "Wolfram Research, Inc."
  • References: <7suvqo$22q@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 30 Sep 1999, Xing Jing Li wrote:

> Does anyone know if it is possible to start a perl executable from within
> mathematica session?

You can start any executable from the kernel with the Run[] command,
provided that your computing environment allows it.  It will work on Unix
systems and Windows systems.  However, the Windows folks will have to put
up with the necessary evil of a console window popping up every time that
Run[] is invoked.  Run[] returns whatever return code is issued by the
program you executed.  It cannot capture the output of the program.

> Even better if I could write data directly to a Oracle data record.

You'll probably have to code your own interface to do this, but it is
possible to create a bridge program that provides callable functions from
the kernel using Install[] mechanism in MathLink.

--
P.J. Hinton
Mathematica Programming Group           paulh at wolfram.com
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.



  • Prev by Date: Re: Start Debugger for MathLink from Mathematica
  • Next by Date: Re: greek alphabet
  • Previous by thread: Re: Start Debugger for MathLink from Mathematica
  • Next by thread: Re: Mathematica 3.0 "Report Summary"