shell commands in notebooks
- To: mathgroup at smc.vnet.net
- Subject: [mg22129] shell commands in notebooks
- From: Wolfgang Schadow <schadow at lin07.triumf.ca>
- Date: Wed, 16 Feb 2000 02:34:46 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi How can I execute shell commands from within a notebook? The book says !date or Run["date"] This works fine in a terminal session, but not in a notebook. It seems that the commands are executed but the output is going somewhere else. To see this try Run["date > foo"] !!foo So what's happening with the output? (Mathematica 4.0 under Linux) Thanks for your comments, Wolfgang ========================================================================= Wolfgang Schadow Phone: +1-604-222-1047 ext. 6453 (office) TRIUMF +1-604-875-6066 (home) Theory Group FAX: +1-604-222-1074 4004 Wesbrook Mall Vancouver, B.C. V6T 2A3 email: schadow at triumf.ca Canada www : http://www.triumf.ca/people/schadow =========================================================================