note 78743 rejected from function.ssh2-shell by tularis

From: Date: Thu, 25 Oct 2007 22:07:14 +0000
Subject: note 78743 rejected from function.ssh2-shell by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-131738@lists.php.net to get a copy of this message
Note Submitter: prasankn at gmail dot com ---- I am using ssh2_shell to run cvs commands. It is working fine for linux. I cant able to work it for windows. Commands like dir, set PATH, cd were working in windows. If there is any prompt after entering any command, there is no output. ie.while executing cvs command using ext method (not with pserver), it prompts for password, it is getting worked in linux by passing the pasword to the stream, but it is not working for windows. I am using sleep and give a line break after every command. I use fwrite($shell_stream, $cmd ."\n") for executing every command. Please help me. Thanks, Prasanna N

« previous php.notes (#131738) next »