Click here to get back home

NET::Telnet

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
NET::Telnet Liu Shiao-Huan 02-15-2006
`--> Re: NET::Telnet Christian Winte...02-16-2006
Posted by Liu Shiao-Huan on February 15, 2006, 8:42 am
Please log in for more thread options


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');

thank you very much.



Posted by Christian Winter on February 16, 2006, 2:17 am
Please log in for more thread options


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

Similar ThreadsPosted
How do you telnet from 1 host to another using Telnet Module December 21, 2005, 4:15 pm
net::telnet to ms telnet server May 19, 2005, 12:28 am
Net::Telnet December 9, 2004, 11:33 pm
Net::telnet June 9, 2006, 1:42 am
net::telnet problem July 23, 2004, 6:46 pm
Telnet from perl September 23, 2004, 2:12 pm
Net::Telnet waitor November 8, 2004, 3:58 pm
Help for Net::Telnet Module December 5, 2004, 11:30 pm
Net::Telnet and SMTP June 13, 2005, 11:01 am
Problem with Net::Telnet October 20, 2005, 4:19 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap