INNER CODE UNIT · JavaScript

compileOpenPLC

Fortiphyd/GRFICSv2 · plc_vm/OpenPLC_v2-master/server_win.js:462

function compileOpenPLC()
{
	console.log('compiling OpenPLC...');
	compilationOutput += 'compiling OpenPLC...\r\n';
	
	var exec_script = spawn('bash', ['./build_core.sh']);
	
	exec_script.stdout.on('data', function(data)
	{
		console.log('' + data);
		compilationOutput += data;
	});
	exec_script.stderr.on('data', function(data)
	{
		console.log('' + data);
		compilationOutput += data;
	});
	exec_script.on('close', function(code)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…