utsav-ladani / html-and-terminal Goto Github PK
View Code? Open in Web Editor NEWType command in browser and run on server
License: MIT License
Type command in browser and run on server
License: MIT License
As per the issue #2 , for add text editor and we need to change UI design.
Like other terminal, it would be good to have a some specific key event like:
CTRL + C
and CTRL + Z
for exit or pause the programAdd simple text editor, so people can edit files and save it on server.
cd <dirname>
is not working
'cd change path and go inside
`
execa
and child_process
can execute only one line command, then close cmd, so next cmd execute in other cmd, hence cd <dirname>
goes vain.
For temporary solution, I make a new one more input box for enter your location, where you want to execute command. Use this value as cwd
value in ExecOptions
.
// code ...
const options = {
cwd: 'E:/' + location,
shell: 'cmd',
}
exec(command, options, (err, stdout, stderr) => {
if (err) {
// code ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.