On Friday, August 30, 2019 at 2:27:46 PM UTC-5, Edward K. Ream wrote:
> Apparently leoBridge.py communicates with JS using stdin and stdout,
using json as the "common language". Still not sure how leointeg starts
leoBridge, but perhaps that don't matter much.
Well, this it's pretty simple: leoIntegration.ts contains:
private initLeoProcess(...): void {
...
// * start leo via leoBridge python script.
const w_pythonProcess: child.ChildProcess = child.spawn("python3", [
this.context.extensionPath + "/scripts/leobridge.py"
]);
...
Not sure of the JS details, but clearly this is the code that starts
leoBridge.py.
The rest of the initLeoProcess function sets up the communication channels
on stdin and stdout
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/9b7bc99e-aa04-4554-9e34-099a8e4a1b0c%40googlegroups.com.