Great questions, as this is a V1, it’s pretty minimal example at the moment.
-
No error handling yet, but that’s a great request, as of now results are returned as strings, including errors and successful returns.
-
Currently using a Child Process on Windows and a popen on Mac. So yes if PS closes, so will this.
-
A regular async
exec()
would be a good addition for sure for situations like that.
Since Bolt UXP is open-source, always open to feedback and improvements if you want to open an issue or PR.
To point you in the right direction, here is the source code C++ file:
Tracking here if you want to leave any additional comments: