Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

why nohup not work

0 views
Skip to first unread message

david

unread,
Jul 3, 2003, 12:32:52 PM7/3/03
to

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.

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


those who know me have no need of my name

unread,
Jul 4, 2003, 5:11:25 PM7/4/03
to
in comp.unix.questions i read:

>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

0 new messages