3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-26 20:52:37 +01:00
pbot/applets/pbot-vm
Pragmatic Software 03fb901291 pbot-vm: fix potential time-out when outputting 0
If the output from a code snippet is `0` without a newline,
Perl treats this as a false value. When Guest::process_command()
returns a false value, that signals to guest-server::serial_server()
that it is the parent returning and so it will not send the result back
to the host.

However, `0\n` is a true value. Solution: always append a final newline to
the guest output.
2022-03-31 19:52:46 -07:00
..
guest pbot-vm: fix potential time-out when outputting 0 2022-03-31 19:52:46 -07:00
host pbot-vm: fix clang2x 2022-03-19 21:50:43 -07:00
README.md pbot-vm: vm-exec can now select VM; can be configured by vm-exec.json file 2022-02-15 11:28:47 -08:00

PBot can interact with a virtual machine to safely execute arbitrary user-submitted system commands and code.

For installation and usage instructions, see the PBot Virtual Machine documentation.