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: [mg53345] Re: Run, RunThrough on OSX?
  • From: William K Reinholtz <kirk.reinholtz at jpl.nasa.gov>
  • Date: Thu, 6 Jan 2005 22:00:47 -0500 (EST)
  • References: <200501060752.CAA28691@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Sir:

The Run help says that on most operating systems you will get the text 
back, but not all.  For example if you do this on OSX Run["/bin/date > 
/tmp/x"] you will find /tmp/x contains the date, so the command did 
run.  So perhaps what you want to do is first run your command, then 
read in a file containing the result.

On Jan 5, 2005, at 11:52 PM, m. r. schaferkotter 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: FullSimplify with Assumptions
  • Next by Date: Re: FindMinimum -- MaxIterations
  • Previous by thread: Run, RunThrough on OSX?
  • Next by thread: Re: Run, RunThrough on OSX?