note 78743 added to function.ssh2-shell

From: Date: Thu, 25 Oct 2007 15:26:07 +0000
Subject: note 78743 added to function.ssh2-shell
Groups: php.notes 
Request: Send a blank email to php-notes+get-131730@lists.php.net to get a copy of this message
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 ---- Server IP: 147.32.160.17 Probable Submitter: 203.199.211.109 ---- Manual Page -- http://www.php.net/manual/en/function.ssh2-shell.php Edit -- https://master.php.net/note/edit/78743 Del: integrated -- https://master.php.net/note/delete/78743/integrated Del: useless -- https://master.php.net/note/delete/78743/useless Del: bad code -- https://master.php.net/note/delete/78743/bad+code Del: spam -- https://master.php.net/note/delete/78743/spam Del: non-english -- https://master.php.net/note/delete/78743/non-english Del: in docs -- https://master.php.net/note/delete/78743/in+docs Del: other reasons-- https://master.php.net/note/delete/78743 Reject -- https://master.php.net/note/reject/78743 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131730) next »