MemCP Console: Difference between revisions

From MemCP
Jump to navigation Jump to search
(Refresh MemCP documentation: accuracy, operational guidance, performance profile and maintained API reference)
(Refresh MemCP documentation: accuracy, operational guidance, performance profile and maintained API reference)
 
Line 5: Line 5:
The interactive Scheme console is enabled when MemCP starts without <code>--no-repl</code>:
The interactive Scheme console is enabled when MemCP starts without <code>--no-repl</code>:


<syntaxhighlight lang="bash">
<pre>
./memcp lib/main.scm
./memcp lib/main.scm
</syntaxhighlight>
</pre>


Run an expression non-interactively with:
Run an expression non-interactively with:


<syntaxhighlight lang="bash">
<pre>
./memcp -c '(help)' lib/main.scm
./memcp -c '(help)' lib/main.scm
</syntaxhighlight>
</pre>


Background and service deployments must use <code>--no-repl</code>; otherwise closing standard input ends the REPL and may stop the process. Capture stdout/stderr through the service manager and use the dashboard, processlist, and configured logs for operations.
Background and service deployments must use <code>--no-repl</code>; otherwise closing standard input ends the REPL and may stop the process. Capture stdout/stderr through the service manager and use the dashboard, processlist, and configured logs for operations.


Authorized MySQL sessions may expose an administrative Scheme parser mode when that capability is intentionally enabled. Scheme execution has direct process and storage access and must not be offered to untrusted database users. See [[Introduction to Scheme]], [[Security and Authentication]], and [[Dashboard and Operations]].
Authorized MySQL sessions may expose an administrative Scheme parser mode when that capability is intentionally enabled. Scheme execution has direct process and storage access and must not be offered to untrusted database users. See [[Introduction to Scheme]], [[Security and Authentication]], and [[Dashboard and Operations]].

Latest revision as of 12:14, 28 August 2026

MemCP Console

The interactive Scheme console is enabled when MemCP starts without --no-repl:

./memcp lib/main.scm

Run an expression non-interactively with:

./memcp -c '(help)' lib/main.scm

Background and service deployments must use --no-repl; otherwise closing standard input ends the REPL and may stop the process. Capture stdout/stderr through the service manager and use the dashboard, processlist, and configured logs for operations.

Authorized MySQL sessions may expose an administrative Scheme parser mode when that capability is intentionally enabled. Scheme execution has direct process and storage access and must not be offered to untrusted database users. See Introduction to Scheme, Security and Authentication, and Dashboard and Operations.