Update start-linux.js
This commit is contained in:
parent
a514e36bc1
commit
6c0f34dd9e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue