Re: kernel running programs
- To: mathgroup at smc.vnet.net
- Subject: [mg33105] Re: [mg33060] kernel running programs
- From: WhoamI <lushstring at yahoo.com>
- Date: Sun, 3 Mar 2002 06:30:28 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Fernando: Write a ASCII file (with extesion file.m) with the commands you want to run. Then from your prompt execute for example the following command: nice +16 math <file.m>& file.out& When finished you will find the output in the file "file.out" Greetings..., Cesar Guerra Fisica - PUCP --- Fernando Rinaldi <fernando.rinaldi at e-technik.uni-ulm.de> wrote: > I have a very simple, but for me important, > question... > > Suppose that I wrote this easy program: > > a=20; > b=30; > Print[a+b] > > If I want to use the kernel: 'math' (I use Linux) > > in which way I have to pass it this > instructions...of course I don't > want to do it by hands (cause I want to use 'math' > as command in my > Linux Debian system), so in what way is possible to > pass to math a file, > and in what format I have to write it ? > > To say it again. How is possible to run a programm > using directly the > kernel?? > > thank you in advance > > fernando > > > > __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com