Integration using stdin doesn't work |
|
I do everything exactly as described here: http://forum.nusphere.com/howto-use-a-php-script-for-my-editing-t753.html
But when I run the command, php-cgi is executed and I see empty black console, waiting for user input from stdin. When I type something there and press enter, then it shows typed string in double quotes and then exits. Looks like phped doesn't write anything to executed script's STDIN. How can I fix it? |
||||||||||||
|
Site Admin
|
STDIN is an input stream, it's not expected to produce any output from the IDE.
|
||||||||||||
_________________ The PHP IDE team |
Site Admin
|
yes you can read that, but it's not expected to appear in console until you echo it
|
||||||||||||
_________________ The PHP IDE team |
|
Maybe I didn't described the problem clear enough.
I run this example:
When I run it from menu, I see empty console, waiting for user input on line
It will wait infinitely, until I type something there and hit Enter. And then script prints typed text in doublequotes (NOT editor's content!), according to line
|
||||||||||||||||||
|
Veteran
|
Which version of PhpED do you use? I noticed this problem in Version 10.0.10035, and it was fixed one or two builds later, IIRC. At the moment I use 10.0.10045, and it works, although I often see the console window for a moment, which had never been the case before 10.0.10035. I didn't try version 11 yet.
Cheers, Jan |
||||||||||||
|
|
Thank you, problem was solved with installing 10.0.10045
|
||||||||||||
|
Integration using stdin doesn't work |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by