This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / System Interface / External Commands  /

  • RunThrough[" command ", expr ] executes an external command, giving the printed form of expr as input, and taking the output, reading it as Mathematica input, and returning the result.
  • RunThrough is not available on all computer systems.
  • RunThrough writes the InputForm of expr on the standard input for command, then reads its standard output, and feeds it into Mathematica.
  • RunThrough starts command, then gives input to command, then terminates the input.
  • See the Mathematica book: Section 2.11.2.
  • See also: Install, Put, Get, Splice.