I have tried to connect the machine using both x-win32 software and telnet
under windows 2000. The shell that I have tried including tcsh and sh, ksh.
The command that I use is like this
nohup matlab <x.m> & x.out &
If the terminal is not closed, the program is runing well. But once the
terminal is closed, the program stop to run, and the process ended.
I also tried to run several other program such as "nohup pico &", but still
the same problem.
Can anyone give me some suggestions regarding this problem?
Thanks
David
>I want to run matlab as a background process on a sgi matchine so that after
>I close my terminal the program can still run on the machine.
>Can anyone give me some suggestions regarding this problem?
yes. interactive programs hate it when the terminal disappears. use a
program that runs the program using a pseudo-terminal, from which you can
disconnect, e.g., the dislocate program supplied as an expect example or
gnu screen.
--
a signature