MathGroup Archive 2006

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

Search the Archive

RE: Re: Run option

  • To: mathgroup at
  • Subject: [mg71974] RE: [mg71946] Re: Run option
  • From: "Jose Luis Gomez" <jose.luis.gomez at>
  • Date: Wed, 6 Dec 2006 06:04:07 -0500 (EST)
  • Organization: ITESM

Hello John

About your suggestion

It works great in Windows. 

Do you (or anybody) know if it works in other operative systems (Mac,

Thanks in advance!


-----Mensaje original-----
De: John Jowett [mailto:John.Jowett at] 
Enviado el: Martes, 05 de Diciembre de 2006 05:05 a.m.
Para: mathgroup at
Asunto: [mg71946] Re: Run option

         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: Relatively simple, but problematic, non-linear ODE
  • Next by Date: Re: (revision) NIntegrate that upper limit is infinite
  • Previous by thread: Re: Re: Run option
  • Next by thread: Making plots using transformation rules