TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:2010] automatic telnet etc



expect says that nohup isn't a  command. There isn't any mention of it in
the man file. I think what I want to run is

spawn program
expect / send stuff
close -onclose 0

but the last line gives me errors. -onclose 0 is supposed to not close the
spawn.

Any idea?

Thanks,

Ben


Ben Luey
lueyb@carleton.edu
ICQ: 19144397

On Fri, 30 Oct 1998 UserCx@aol.com wrote:

> In a message dated 98-10-30 17:53:39 EST, you write:
> 
> << Thanks. Expect is definetly the way to go. I've got one problem though,
>  when the finish the expect script (i.e. I have logged in) except closes
>  all spawned processes, which means I lose my connection to the server.
>  I've tried ending the expect script with "close -noexit" but doesn't work.
>  Maybe I need to run the expect script aft >>
> 
> Try the "nohup" command when you start a process. i.e. use 
> "nohup command_you_want_to_keep_running &"
> 
> I think nohup stands for "no hang up" and might work for you.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com
>