View Source Modkit.CLI.ProcessShell (modkit v0.6.0)

An output shell implementation allowing your CLI commands to send their output as messages to themselves. This is most useful for tests.

The process that will receive the messages is found by looking up the first pid in the :"$callers" key of the process dictionary, or self() if there is no caller.

Use Modkit.CLI.put_shell(Modkit.CLI.ProcessShell) to enable this shell.

Summary

Functions

Returns the pid of the process that will receive output messages.

Functions

Returns the pid of the process that will receive output messages.