Skip to content
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

При использовании nano консоль зависает #44

Open
opiums9 opened this issue Jun 6, 2018 · 2 comments
Open

Comments

@opiums9
Copy link

opiums9 commented Jun 6, 2018

Если попытаться открыть файл через nano, то консоль виснет, а проц получит полную загрузку 1-го ядра, это как то можно исправить?
Debian9 + php 7.0

@nhalstead
Copy link

[Это сообщение переведено с помощью Google Translate, так что если что-то не выглядит правильным, его Google :P]

Это веб-консоль, а не ssh. Таким образом, вы можете перемещать файлы и запускать команды, но вы не можете открывать такие вещи, как nano или vim или что-то, что является окном. Как это работает, он отправляет команду, введенную в PHP, и использует функцию для ее выполнения в качестве системной команды и ждет ответа. VIM и Nano являются интерактивными, оконными. echo, help, ping, ifconfig и т. д. не являются интерактивными окнами, которые они запускают, и возвращают вывод, который отображается на экране (что мы видим в консоли).

The Message above but in english:

[This message is translated by Google Translate so if something does not look right, Its Google :P]

This is a web console not ssh. So you can move files and run commands but you can not open things like nano or vim or something that is a window. The way this works is it sends the command you entered to PHP and it uses a function to execute it as a system command and waits for a response. VIM and Nano are interactive, a window persay. echo, help, ping, ifconfig, etc. are not interactive windows they run and return an output that is echoed to the screen (what we see in the console).

@opiums9
Copy link
Author

opiums9 commented Jun 9, 2018

Хорошо, спасибо! Буду пользоваться не интерактивными окнами 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants