Closed Ambrevar closed 6 months ago
See https://github.com/atlas-engineer/cl-electron/pull/7#issuecomment-1590960631.
Shouldn't be too hard, but then send-message should probably not use read-line (see https://github.com/atlas-engineer/cl-electron/pull/7#issuecomment-1596701751).
send-message
read-line
Actually it may be OK, since the S-exp is fully controlled and does not contain arbitrary strings.
Alternatively, we could wrap the result / error in JSON:
{result: ... error: }
No longer valid in the current architecture.
See https://github.com/atlas-engineer/cl-electron/pull/7#issuecomment-1590960631.
Shouldn't be too hard, but then
send-message
should probably not useread-line
(see https://github.com/atlas-engineer/cl-electron/pull/7#issuecomment-1596701751).Actually it may be OK, since the S-exp is fully controlled and does not contain arbitrary strings.
Alternatively, we could wrap the result / error in JSON: