[Date Index] [Thread Index] [Author Index]
Re: Run, RunThrough on OSX?
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:= 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. >