Github. comnickolaweb-consolereleases added the shell script console to the web. I generally know the background information, but how can I implement this interface, in addition, the data display format after the command is executed is similar to that on the linux console.
Https://github.com/nickola/web-console/releases/
Add the shell script console
I know about the background, but how to implement this interface, and the data display format after the command is executed is similar to the console format in linux
Reply content:
Https://github.com/nickola/web-console/releases/
Add the shell script console
I know about the background, but how to implement this interface, and the data display format after the command is executed is similar to the console format in linux
Https://github.com/nickola/web-console/blob/master/src/webconsole.main.php#L9-L32
This library encapsulates http://php.net/manual/zh/function.proc-open.php
Updates to the subject:
Terminal is implemented using https://github.com/jcubic/jquery.terminal
Exec, system,... can execute shell commands. you can make an ajax request, return the command results, and then adjust the style by yourself.
The web shell is not a real shell. it accepts commands and filters them through backend processing, and then uses exec in php to call
Interface implementation:
1. frontend rendering
2. flash animation
1. only the style can be simulated
2.exe c.
3. bi