MathGroup Archive 2006

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

Search the Archive

Re: Run option

  • To: mathgroup at
  • Subject: [mg71946] Re: Run option
  • From: "John Jowett" <John.Jowett at>
  • Date: Tue, 5 Dec 2006 06:04:45 -0500 (EST)
  • Organization: CERN News
  • References: <el11sv$44a$>

         It is often better to use ReadList than Run.  I always use this for 
running external "console" programs.   No command window appears and it also 
has the advantage that you can easily capture and manipulate the program's 
output stream.





Note that you need to prefix the command string with "!".     You can also 
use Import which gives more ways of dealing with the output.

I have often wondered if there is any disadvantage to this (why is it not 
documented?) but have not found any.

John Jowett

"Chris Chiasson" <chris at> wrote in message 
news:el11sv$44a$1 at
Hi, please add an option to Run that can disable the command window
that pops up when an external command is run (on Windows platforms).
The present behavior becomes quite annoying when multiple commands are
run successively in a batch job.


  • Prev by Date: Re: Reduction of Radicals
  • Next by Date: how many times nestwhile repeats calculations?
  • Previous by thread: Run option
  • Next by thread: Re: Re: Run option