Re: NET::Telnet



Liu Shiao-Huan wrote:
Hi, all
When I use NET::Telnet module from windows to telnet SUN solaris8.

now I can use telnet->cmd('kill -9 $PID') to kill a process. but when I use the same way to start a new process. It doesn't work. Can u tell me where is my fault?
telnet->cmd('monitor.csh');

Did you capture the response from cmd() and look into it,
like shown in the documentation to Net::Telnet? If not,
I strongly encourage you to do so, before asking a question
here that will most probably turn out to having nothing to do
with Perl at all.

I guess if you look at cmd()'s response you will get back
something like "command not found" or the like, pointing out
that monitor.csh is not found in your shell's search paths.

-Chris
.



Relevant Pages

  • Re: How kill process with Windows mobile 5 ?
    ... It is always better to keep first instance, than to kill it and create new ... I retrieve the PID enumerating processes with a Windev instruction too. ... Windows message to the first instance that ask it to close itself. ...
    (microsoft.public.pocketpc.developer)
  • Re: killing off a process tree
    ... I would like this to be portable on both linux and windows. ... you can only use 0-9 on windows, and none of them seems to kill a tree. ... The thing is I only have the pid of the parent, ...
    (comp.lang.ruby)
  • Is that a way to get the child pid that start by an application?
    ... I have a perl script on windows that try to lanuch a ... that I am trying to get the pid, so I can kill it later. ... I kill devenv.com, devenv.exe will be zombie. ...
    (comp.lang.perl.misc)
  • NET::Telnet
    ... When I use NET::Telnet module from windows to telnet SUN solaris8. ... now I can use telnet->cmd('kill -9 $PID') to kill a process. ...
    (comp.lang.perl.modules)
  • generally, go lift a frog
    ... excuses the barbers frantically, Pauline won't kill any hollow ... windows. ... Dave weekly creeps them too. ...
    (rec.pets.cats.anecdotes)