Update start-linux.js

This commit is contained in:
heckeralt 2024-09-20 15:29:30 -04:00
parent a514e36bc1
commit 6c0f34dd9e
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
const http = require('http'); const http = require('http');
const child = require("child_process"); const child = require("child_process");
let qemucmd = "qemu-system-x86_64 -vnc :1 -m 1G" let qemucmd = "qemu-system-x86_64 -vnc :1 -m 1G"
child.execSync() child.execSync(qemucmd)
http.createServer(function (req, res) { http.createServer(function (req, res) {
res.write('Server running at IP 127.0.0.1:5901 (VNC)'); //write a response to the client res.write('Server running at IP 127.0.0.1:5901 (VNC)'); //write a response to the client
res.end(); //end the response res.end(); //end the response