gristlabs_grist-core/app/server
Paul Fitzpatrick 4222f1ed32 (core) communicate with sandbox via standard pipes
Summary:
This switches to using stdin/stdout for RPC calls to the sandbox, rather than specially allocated side channels. Plain text error information remains on stderr.

The motivation for the change is to simplify use of sandboxes, some of which support extra file descriptors and some of which don't.

The new style of communication is made the default, but I'm not committed to this, just that it be easy to switch to if needed. It is possible I'll need to switch the communication method again in the near future.

One reason not to make this default would be windows support, which is likely broken since stdin/stdout are by default in text mode.

Test Plan: existing tests pass

Reviewers: dsagal, alexmojaki

Reviewed By: dsagal, alexmojaki

Differential Revision: https://phab.getgrist.com/D2897
2021-07-12 06:45:47 -04:00
..
lib (core) communicate with sandbox via standard pipes 2021-07-12 06:45:47 -04:00
declarations.d.ts (core) Generic tools for recording pycalls, deterministic mode. 2021-06-15 20:58:05 +02:00
devServerMain.ts (core) make SELF_HYPERLINK urls cleaner 2021-05-28 08:54:37 -04:00
mergedServerMain.ts (core) add housekeeping endpoints for cleaning doc snapshots+state 2021-01-05 10:31:14 -05:00
serverMethods.ts (core) Use individual choices for filtering choice lists 2021-06-11 09:34:06 -07:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00