MathGroup Archive 2013

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

Search the Archive

running mathematica from command line


Hi All,

I am trying to run mathematica from the command line with the following statements on my mac:

1) mathematica has no problem with the statement below

/Applications/Mathematica.app/Contents/MacOS/MathKernel -noprompt -initfile test.m 

2) however, mathematica automatically quit the program as soon as I execute the following command.

nohup nice /Applications/Mathematica.app/Contents/MacOS/MathKernel -noprompt -initfile test.m > output.out &

I was wondering if there is a special command to run under the Mac.

Please help.

Thanks



  • Prev by Date: Re: Position
  • Next by Date: Importing a file and extracting data
  • Previous by thread: problem with running mathematica with & sign from command line
  • Next by thread: Importing a file and extracting data