3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-11 04:22:35 +01:00
pbot/applets/pbot-vm
Pragmatic Software 4287cb9fa2
Fix split_line() quoting to be more sh-like
E.g.:

<pragma-> show testcargs
   <PBot> [global] testcargs: /code c11 printf("/say args: " ); while (*++argv) printf("[%s] " , *argv);
<pragma-> testcargs 'hello''world' 'how are 'you today
   <PBot> args: [helloworld] [how are you] [today]

Previously, adjacent 'foo''bar' would end up as 2 args like [foo] [bar]. Now
they are properly concatenated into one [foobar] argument.

This also fixes the cases of whitespace being inserted after quoted arguments.
2024-10-29 10:19:46 -07:00
..
guest Fix split_line() quoting to be more sh-like 2024-10-29 10:19:46 -07:00
host Fix split_line() quoting to be more sh-like 2024-10-29 10:19:46 -07:00
vagrant pbot-vm: update documentation about how to start PBot VM after reboot 2024-04-10 13:09:58 -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.