Skip to content

Instantly share code, notes, and snippets.

@devyn
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devyn/d2b69e8c264ef7639f10 to your computer and use it in GitHub Desktop.
Save devyn/d2b69e8c264ef7639f10 to your computer and use it in GitHub Desktop.
Kit shell pseudocode
1 > logger = !LogInput
[3414] logger
2 > logger.send({key: "value"})
logger: Received {key: "value"} from 2929
3 > !Echo
Error: Must assign spawned process to variable
4 > echo = !Echo
5 > echo.send(1234)
6 > echo.recv()
1234
7 > echo.send(1234); variable = echo.recv()
1234
9 > variable
1234
10 > echo.send(4567);
11 > logger.send(echo.recv());
logger: Received {key: "value"}
12 > logger.kill();
[-] logger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment