Hi there. We’re starting the migration from one of our extensions to UXP in order to support M1 natively. But we hit some blockers on the road.
- On CEP, we use
require("http")
to start a new server and check for open ports. - We use
require('jrpc')
andrequire("socket.io")
to start a websocket server - We use
require("child_process")
to spawn a Python process in the background. - We use
require("path")
(from Node) to build a OS-compliant path for the above Python executable.
Why Python? We have a complex desktop application that communicates with a cloud service for collaborative work.
Is there a way to achieve similar behavior in UXP? I read somewhere that it doesn’t rely on Nodejs anymore so no Nodejs modules are available, just V8 engine.