Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Run, RunThrough on OSX?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53346] Re: Run, RunThrough on OSX?
  • From: Yasvir Tesiram <Yasvir-Tesiram at omrf.ouhsc.edu>
  • Date: Thu, 6 Jan 2005 22:00:49 -0500 (EST)
  • References: <200501060752.CAA28691@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Correct, not with the Notebook interface, but running the kernel from a 
terminal it works. I don't know how the Notebook interface connects itself to 
stdout and stdin but it is possible to pipe the output from an external 
program to the Notebook interface using Import. Another way is to make 
connections via streams.

Regards
Yas

Mathematica 5.0 for Mac OS X
Copyright 1988-2003 Wolfram Research, Inc.
 -- Terminal graphics initialized -- 

In[1]:= Run["date"]
Thu Jan  6 12:22:59 CST 2005

Out[1]= 0

In[2]:= $Version

Out[2]= 5.0 for Mac OS X (November 19, 2003)

Same goes for Linux.

Mathematica 5.0 for Linux
Copyright 1988-2003 Wolfram Research, Inc.
 -- Motif graphics initialized -- 

In[1]:= Run["date"]
Thu Jan  6 12:09:46 CST 2005

Out[1]= 0

In[2]:= $Version

Out[2]= 5.0 for Linux (June 9, 2003)


On Thursday 06 January 2005 01:52 am, you wrote:
> greetings:
>
> Run and RunThrough on OSX don/t seem to work as indicated in the Help
> Browser or the Mathematica Book.
>
> Run["date"]
>
> -1
>
> instead of the date.
>
> on Solaris the functionality is there:
>
> In[1]:= Run["date"]
> Wed Jan  5 20:42:13 CST 2005
>
>
> also the shell escape doesn/t seem to work.
>
> can anyone explain why this should be the case?
>
> m. r.


  • Prev by Date: Re: Run, RunThrough on OSX?
  • Next by Date: Re: Mathematica and Visual basic
  • Previous by thread: Re: Re: Re: Run, RunThrough on OSX?
  • Next by thread: Indexing a notebook library