actually run jade

pull/2/head
axtlos 3 years ago
parent 9420055b3d
commit d30dbba4ca

@ -10,9 +10,8 @@ test(setOutput, running, setRunning, config, writeToLog) async {
const filename = "/tmp/jade.json";
await File(filename).writeAsString(config);
writeToLog("Json config: $config");
var process =
//await Process.start('pkexec', ['/opt/jade_gui/scripts/jadewrapper.sh']);
await Process.start('/opt/jade_gui/scripts/jadeemu.sh', []);
var process = await Process.start('pkexec', ['jade', 'config', filename]);
//await Process.start('/opt/jade_gui/scripts/jadeemu.sh', []);
process.stdout.transform(utf8.decoder).forEach(setOutput);
setRunning(true);
}

Loading…
Cancel
Save