[PHP] proc_open problems

2004-03-01 Thread Rick Ridgeway
Hello, I am using php 4.3.0, and am trying to launch the command line interface for cisco network registrar, and be able to send commands to it and read the output from those commands. Problem I am having is that the commands can take some time to actually respond with output. I can make it

Re: RES: [PHP] Proc_open() problems

2003-03-19 Thread Marek Kilimajer
PROTECTED] Assunto: Re: [PHP] Proc_open() problems The problem is that ssh (and various others, like passwd) command does not use the standard input/output functions, but there is a workaround program for this, but I don't remember its name. Piero B. Contezini wrote: I'm having prob

Re: RES: [PHP] Proc_open() problems

2003-03-19 Thread Marek Kilimajer
: Re: [PHP] Proc_open() problems The problem is that ssh (and various others, like passwd) command does not use the standard input/output functions, but there is a workaround program for this, but I don't remember its name. Piero B. Contezini wrote: I'm having problems while ope

RES: [PHP] Proc_open() problems

2003-03-19 Thread Piero B. Contezini
Do you have any idea where I can find more info about it? Piero -Mensagem original- De: Marek Kilimajer [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 19 de março de 2003 12:02 Para: Piero B. Contezini Cc: [EMAIL PROTECTED] Assunto: Re: [PHP] Proc_open() problems The problem is

Re: [PHP] Proc_open() problems

2003-03-19 Thread Marek Kilimajer
The problem is that ssh (and various others, like passwd) command does not use the standard input/output functions, but there is a workaround program for this, but I don't remember its name. Piero B. Contezini wrote: I'm having problems while opening a ssh session thru proc_open(), anyone knows

[PHP] Proc_open() problems

2003-03-19 Thread Piero B. Contezini
I'm having problems while opening a ssh session thru proc_open(), anyone knows why i can see the remote terminal prompt while reading the stdout? It just doesn't appear! Piero "It occurred to me by intuition, and music was the driving force behind that intuition. My discovery was the result of m

[PHP] proc_open() problems

2003-01-09 Thread Jean-Christian Imbeault
I've written a script that uses proc_open() to call and external program and capture it's output. My script works fine as long as I call/use it in the directory where it resides. But if I try to include() it in a script that resides in another folder proc_open() return an exit value of 255. I c