-
Notifications
You must be signed in to change notification settings - Fork 16
Use fopen instead of expect_popen. #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Hi there. |
|
Hi, Rod Elias schreef op za 13-02-2016 om 05:08 [-0800]:
No, it works fine here. Do you have some code or logging to share? Regards, Arjan |
|
I can not see anything strange in the given output. Maybe something with buffering on the stream? I don't know why the code isn't merged yet. I haven't got any response on this pull request yet. |
|
Hi arjanoosting , Please take a look at When using fopen(), the above script can connect to the device and issue the specified command. However, I noticed that, for some reason, it's unable to close the connection. I ran it in cli mode and after executing the When the same script is executed via browser I can't see any output (I see just a blank page) and the script keeps running and running... Any help is much appreciated. Sincerely, |
|
Hello @arjanoosting . What's up? |
|
Rod Elias [email protected] schreef op 20 februari 2016 17:35:32 CET:
I have been busy. Will look at this tomorrow. Arjan |
|
Ok, no problem! |
|
Hello again! |
|
Are you still alive? :) |


.This way there are no zombie ssh processes left around (see https://bugs.php.net/bug.php?id=57918)